column(a, i)

Returns column i of matrix a.


See also row submatrix matrix matrixd 


Example


a = ( 1, 2, 3 ; 4, 5, 6 ; 7, 8, 9 )

1  2  3

4  5  6

7  8  9

column( a, 2 )

2

5

8