linalg(deprecated)/basis - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


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

linalg(deprecated)

  

basis

  

find a basis for a vector space

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

basis(V, crspace)

Parameters

V

-

vector, set of vectors or list of vectors, a matrix

crspace

-

(optional) name, either 'rowspace' or 'colspace'

Description

• 

Important: The linalg package has been deprecated. Use the superseding command LinearAlgebra[Basis], instead.

  

- For information on migrating linalg code to the new packages, see examples/LinearAlgebraMigration.

• 

If the argument V is a single vector, then this vector is returned as a set {V}.

• 

If V is a set of vectors, then basis will return a basis for the vector space spanned by those vectors in terms of the original vectors.

• 

If V is a matrix, then the routine computes a basis of the column space of V if the second optional argument is 'colspace', and it returns a basis of the row space of V if the second argument is 'rowspace'.

• 

For an ordered basis, use a list of vectors rather than a set.

• 

A basis for the zero-dimensional space is an empty set or list.

• 

The command with(linalg,basis) allows the use of the abbreviated form of this command.

Examples

Important: The linalg package has been deprecated. Use the superseding command LinearAlgebra[Basis], instead.

withlinalg:

v1100:

v2010:

v3001:

v4111:

basisv1,v2,v3

v1,v2,v3

(1)

basisv3,v2,v1

v3,v2,v1

(2)

basisv1,v2,v3,v4

v1,v2,v3

(3)

basis111,222,111,222,101,011

111,2−22,011

(4)

Aarray1,0,0,0,1,0,0,0,1,1,1,1:

basisA,'rowspace'

100,010,001

(5)

See Also

LinearAlgebra