summaryrefslogtreecommitdiff
path: root/260/DEPENDENCIES/swap.sci
diff options
context:
space:
mode:
Diffstat (limited to '260/DEPENDENCIES/swap.sci')
-rw-r--r--260/DEPENDENCIES/swap.sci7
1 files changed, 7 insertions, 0 deletions
diff --git a/260/DEPENDENCIES/swap.sci b/260/DEPENDENCIES/swap.sci
new file mode 100644
index 000000000..8efdfec5b
--- /dev/null
+++ b/260/DEPENDENCIES/swap.sci
@@ -0,0 +1,7 @@
+function [p,q] = swap(x,y)
+ t = x;
+ x = y;
+ y = t;
+ p = x;
+ q = y;
+endfunction \ No newline at end of file