linalg[rowspan] - compute spanning vectors for the row space
linalg[colspan] - compute spanning vectors for the column space
|
Calling Sequence
|
|
rowspan(A)
rowspan(A, 'dim')
colspan(A)
colspan(A, 'dim')
|
|
Parameters
|
|
A
|
-
|
matrix of multivariate polynomials over the rationals
|
'dim'
|
-
|
assigned the dimension of the row space of A
|
|
|
|
|
Description
|
|
•
|
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
Was this information helpful?