compute spanning vectors for the row space
compute spanning vectors for the column space
matrix of multivariate polynomials over the rationals
assigned the dimension of the row space of A
Important: The linalg package has been deprecated. Use the superseding packages, LinearAlgebra and VectorCalculus, instead.
- For information on migrating linalg code to the new packages, see examples/LinearAlgebraMigration.
The functions rowspan and colspan compute a spanning set for the row space and column space respectively of the matrix A. The matrix A must be a matrix of multivariate polynomials over the rationals. The spanning set returned is a set of vectors (one-dimensional arrays) of polynomials.
If the optional second argument is given, it will be assigned the rank of A, which is the dimension of the row space and column space.
These functions use ``fraction-free'' Gaussian elimination to triangularize the matrix. Hence, unlike linalg[rowspace] and linalg[colspace], no rational expressions are introduced during the elimination; as a result, if variables are later assigned particular values, division by zero cannot occur.
These functions are part of the linalg package, and so can be used in the form rowspan(..) only after performing the command with(linalg) or with(linalg, rowspan). These functions can always be accessed in the long form linalg[rowspan](..).
Download Help Document
What kind of issue would you like to report? (Optional)