Artifact d38d874954a882560f9df2f7d9d739753689faf7621d50e4e2258cd3c2f670de:
- Executable file
r37/lisp/csl/html/r37_0589.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: 1100) [annotate] [blame] [check-ins using] [more...]
<A NAME=get_columns> <TITLE>get_columns</TITLE></A> <b><a href=r37_idx.html>INDEX</a></b><p><p> <B>GET_COLUMNS</B> _ _ _ _ _ _ _ _ _ _ _ _ <B>operator</B><P> <P> Get columns, get rows: <P> <P> <P> <H3> syntax: </H3> <em>get_columns</em>(<matrix>,<column\_list>) <P> <P> <P> <matrix> :- a <A HREF=r37_0345.html>matrix</A>. <P> <P> <c> :- either a positive integer or a list of positive integers. <P> <P> <em>get_columns</em>removes the columns of <matrix> specified in <column\_list> and returns them as a list of column matrices. <P> <P> <em>get_rows</em>performs the same task on the rows of <matrix>. <P> <P> <P> <H3> examples: </H3> <P><PRE><TT> get_columns(A,{1,3}); { [1] [ ] [4] [ ] [7] , [3] [ ] [6] [ ] [9] } get_rows(A,2); { [4 5 6] } </TT></PRE><P>Related functions: <A HREF=r37_0576.html>augment_columns</A>, <A HREF=r37_0614.html>stack_rows</A>, <A HREF=r37_0615.html>sub_matrix</A>. <P> <P>