Artifact 3c306370d1167473587c4438a051d14081c3bbe49ef569c0557c93dfe69bdbb7:
- Executable file
r37/lisp/csl/html/r37_0617.html
— part of check-in
[f2fda60abd]
at
2011-09-02 18:13:33
on branch master
— Some historical releases purely for archival purposes
git-svn-id: https://svn.code.sf.net/p/reduce-algebra/code/trunk/historical@1375 2bfe0521-f11c-4a00-b80e-6202646ff360 (user: arthurcnorman@users.sourceforge.net, size: 954) [annotate] [blame] [check-ins using] [more...]
<A NAME=swap_columns> <TITLE>swap_columns</TITLE></A> <b><a href=r37_idx.html>INDEX</a></b><p><p> <B>SWAP_COLUMNS</B> _ _ _ _ _ _ _ _ _ _ _ _ <B>operator</B><P> <P> Swap columns, swap rows: <P> <P> <P> <H3> syntax: </H3> <em>swap_columns</em>(<matrix>,<c1>,<c2>) <P> <P> <P> <matrix> :- a <A HREF=r37_0345.html>matrix</A>. <P> <P> <c1>,<c1> :- positive integers. <P> <P> <em>swap_columns</em>swaps column <c1> of <matrix> with column <c2>. <P> <P> <em>swap_rows</em>performs the same task on two rows of <matrix>. <P> <P> <P> <H3> examples: </H3> <P><PRE><TT> swap_columns(A,2,3); [1 3 2] [ ] [4 6 5] [ ] [7 9 8] swap_rows(A,1,3); [7 8 9] [ ] [4 5 6] [ ] [1 2 3] </TT></PRE><P>Related functions: <A HREF=r37_0618.html>swap_entries</A>. <P> <P>