linalg(deprecated)/rowspan - Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : linalg(deprecated)/rowspan

linalg(deprecated)

  

rowspan

  

compute spanning vectors for the row space

  

colspan

  

compute spanning vectors for the column space

 

Calling Sequence

Parameters

Description

Examples

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

• 

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](..).

Examples

Important: The linalg package has been deprecated. Use the superseding packages, LinearAlgebra and VectorCalculus, instead.

withlinalg:

Amatrix2,2,a,b,c,d

Aabcd

(1)

rowspanA

0adbc,ab

(2)

colspanA

0adbc,ac

(3)

Bmatrix3,2,x+y,y+2z,x,y,y,2z

Bx+yy+2zxyy2z

(4)

rowspanB,'d'

02xzy2,xy

(5)

d

2

(6)

See Also

linalg(deprecated)[gausselim]

linalg(deprecated)[rowspace]

LinearAlgebra