summaryrefslogtreecommitdiff
path: root/260/DEPENDENCIES/swap.sci
blob: 8efdfec5b85d688ce5128038e675bd1fcf46e16a (plain)
1
2
3
4
5
6
7
function [p,q] = swap(x,y)
    t = x;
    x = y;
    y = t;
    p = x;
    q = y;
endfunction