linalg(deprecated)
rowdim
determine the row dimension of a matrix
coldim
determine the column dimension of a matrix
Calling Sequence
Parameters
Description
Examples
rowdim(A)
coldim(A)
A
-
matrix
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](..).
with⁡linalg:
A≔matrix⁡3,4
A≔`?`1,1`?`1,2`?`1,3`?`1,4`?`2,1`?`2,2`?`2,3`?`2,4`?`3,1`?`3,2`?`3,3`?`3,4
rowdim⁡A
3
coldim⁡A
4
See Also
linalg(deprecated)[vectdim]
LinearAlgebra
Download Help Document