linalg(deprecated)/basis - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

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:

v1vector1,0,0:

v2vector0,1,0:

v3vector0,0,1:

v4vector1,1,1:

basisv1,v2,v3

v1,v2,v3

(1)

basisv3,v2,v1

v3,v2,v1

(2)

basisv1,v2,v3,v4

v1,v2,v3

(3)

basisvector0,1,1,vector1,0,1,vector1,1,1,vector1,1,1,vector2,2,2,vector2,2,2

222,101,011

(4)

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

basisA,rowspace

100,010,001

(5)

See Also

LinearAlgebra