 linalg(deprecated)/rowdim - Maple Help

linalg(deprecated)

 rowdim
 determine the row dimension of a matrix
 coldim
 determine the column dimension of a matrix Calling Sequence rowdim(A) coldim(A) Parameters

 A - matrix Description

 • Important: The linalg package has been deprecated. Use the superseding commands, LinearAlgebra[RowDimension] and LinearAlgebra[ColumnDimension], instead.
 - For information on migrating linalg code to the new packages, see examples/LinearAlgebraMigration.
 • The functions rowdim(A) and coldim(A) return an integer, the number of rows and columns respectively, in the matrix A.
 These functions are part of the linalg package, and so can be used in the form rowdim(..) only after performing the command with(linalg) or with(linalg,rowdim).  These functions can always be accessed in the long form linalg[rowdim](..). Examples

Important: The linalg package has been deprecated. Use the superseding commands, LinearAlgebra[RowDimension] and LinearAlgebra[ColumnDimension], instead.

 > $\mathrm{with}\left(\mathrm{linalg}\right):$
 > $A≔\mathrm{matrix}\left(3,4\right)$
 ${A}{≔}\left[\begin{array}{cccc}{{\mathrm{?}}}_{{1}{,}{1}}& {{\mathrm{?}}}_{{1}{,}{2}}& {{\mathrm{?}}}_{{1}{,}{3}}& {{\mathrm{?}}}_{{1}{,}{4}}\\ {{\mathrm{?}}}_{{2}{,}{1}}& {{\mathrm{?}}}_{{2}{,}{2}}& {{\mathrm{?}}}_{{2}{,}{3}}& {{\mathrm{?}}}_{{2}{,}{4}}\\ {{\mathrm{?}}}_{{3}{,}{1}}& {{\mathrm{?}}}_{{3}{,}{2}}& {{\mathrm{?}}}_{{3}{,}{3}}& {{\mathrm{?}}}_{{3}{,}{4}}\end{array}\right]$ (1)
 > $\mathrm{rowdim}\left(A\right)$
 ${3}$ (2)
 > $\mathrm{coldim}\left(A\right)$
 ${4}$ (3)