col ( n matrix -- col )
Matrix operations

Prev:rows-except ( matrix desc -- others )
Next:cols ( seq matrix -- cols )


Vocabulary
math.matrices

Inputs
nan integer
matrixa matrix


Outputs
cola sequence


Word description
Get the nth column of the matrix.

Notes
Like most Factor sequences, indexing is 0-based. The first column is given by m 0 col.

Examples
USING: kernel math.matrices prettyprint ; { { 1 2 } { 3 4 } } 1 swap col .
{ 2 4 }


Definition