Home Online Manual
Top
Back: gauss_nf
Forward: U_D_O
FastBack: matrix_lib
FastForward: Commutative algebra
Up: linalg_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.3.2.14 mat_rk

Procedure from library linalg.lib (see linalg_lib).

Usage:
mat_rk(A); A any constant matrix

Return:
int, rank of A

Example:
 
LIB "linalg.lib";
ring r = 0,(x),dp;
matrix A[4][4] = 1,4,4,7,2,5,5,4,4,1,1,3,0,2,2,7;
mat_rk(A);
==> 3