compute a basis for the row space
compute a basis for the column space
(optional) unevaluated name
Important: The linalg package has been deprecated. Use the superseding packages LinearAlgebra[RowSpace] and LinearAlgebra[ColumnSpace], instead.
- For information on migrating linalg code to the new packages, see examples/LinearAlgebraMigration.
The functions rowspace(A) and colspace(A) return a set of vectors that form a basis for the vector space spanned by the rows and columns of the matrix A, respectively. The vectors are returned in a canonical form with leading entries 1.
The optional second parameter 'dim' is assigned the rank of A, which is the dimension of the row and column space.
These functions are part of the linalg package, and so can be used in the form rowspace(..) only after performing the command with(linalg) or with(linalg, rowspace). They can always be accessed in the long form linalg[rowspace](..).
A ≔ matrix⁡3,2,2,0,3,4,0,5
B ≔ array⁡0,0,0,1,0,0,x,0,0,0,0,0,y,y,0,0,x,0,1,0
C ≔ matrix⁡3,3,154,−3⁢104,1⁢1654,−3⁢104,32,−1⁢664,1⁢1654,−1⁢664,114
Warning, unable to find a provably non-zero pivot
Download Help Document
What kind of issue would you like to report? (Optional)
Thank you for submitting feedback on this help document. Your feedback will be used
to improve Maple's help in the future.