row(a, i)

Returns the i-th row of matrix a.


See also column submatrix 


Example


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

1  2

3  4

5  6

row( a, 1 )

1  2