rank(a)
Returns the rank of matrix a.
See also cond norm1 determinant
Example
a = ( 1, 2 ; 3, 1 )
1 2
3 1
rank( a )
2