[Next][Prev] [Right] [Left] [Up] [Index] [Root]

Elementary Invariants

The following functions yield elementary invariants of matrices and may be applied to matrices of any type, including vectors.

NumberOfRows(A) : Mtrx -> RngIntElt
Nrows(A) : Mtrx -> RngIntElt
Given an m x n matrix A, return m, the number of rows of A.
NumberOfColumns(A) : Mtrx -> RngIntElt
Ncols(A) : Mtrx -> RngIntElt
Given an m x n matrix A, return n, the number of columns of A.

BaseRing(A) : Mtrx -> Rng
CoefficientRing(A) : Mtrx -> Rng
Given a matrix A with entries lying in a ring R, return R.
ElementToSequence(A) : Mtrx -> [ RngElt ]
Eltseq(A) : Mtrx -> [ RngElt ]
Given a matrix A over the ring R having m rows and n columns, return the entries of A, in row-major order, as a sequence of mn elements of R.
 [Next][Prev] [Right] [Left] [Up] [Index] [Root]