The following functions yield elementary invariants of matrices and may be applied to matrices of any type, including vectors.
Given an m x n matrix A, return m, the number of rows of A.
Given an m x n matrix A, return n, the number of columns of A.
Given a matrix A with entries lying in a ring R, return R.
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]