Man
Algebra
Matrix
column
Matrix.column
Returns a column by index.
Arguments
index
is an integer number, zero-based.
Return values
column
as a
Vector
.
Complexity
O(rows)
Example
"sl/algebra" useFile m: ((1.0 3.0 2.0) (1.0 2.0 3.0) (4.0 6.0 6.0)) makeMatrix; 1 m.column .makeRange [print "," print] each
Output:
3.000000,2.000000,6.000000,