LinearAlgebra - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Linear Algebra : LinearAlgebra Package : VectorSpaces : LinearAlgebra/Basis

LinearAlgebra

  

Basis

  

return a basis for a vector space

  

SumBasis

  

return a basis for the direct sum of vector space(s)

  

IntersectionBasis

  

return a basis for the intersection of vector space(s)

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

Basis(V, options)

SumBasis(VS, options)

IntersectionBasis(VS, options)

Parameters

V

-

Vector, list of Vectors, or set of Vectors

VS

-

list whose elements represent vector spaces; each list element is a Vector, a list of Vector(s), or a set of Vector(s) whose span represents the vector space

options

-

(optional); constructor options for the result object

Description

• 

For all of the functions, the following statements hold:

  

- The dimension and orientation of all Vectors (in all vector spaces) must be the same.

  

- If constructor options are specified, each resulting Vector has the same specified options.

• 

The Basis(V) function returns a list or set of Vectors that forms a basis for the vector space spanned by the original Vectors in terms of the original  Vectors.  A basis for the 0-dimensional space is an empty list or set.

  

If V is a list of Vectors, the Basis(V) function returns a list of Vectors.  If V is a single Vector or a set of Vectors, a set of Vectors is returned.

• 

The SumBasis(VS) function returns a list or set of Vector(s) that forms a basis for the direct sum of the vector spaces defined by the Vector(s) in each list element of VS.  SumBasis([]) returns the empty set.

  

If all of the elements of VS are lists of Vectors, the SumBasis(V) function returns a list of Vectors.  Otherwise, a set of Vectors is returned.

• 

The IntersectionBasis(VS) function returns a list or set of Vector(s) that forms a basis for the intersection of the vector spaces defined by the Vector(s) in each list element of VS.  IntersectionBasis([]) returns the empty set.

  

If all of the elements of VS are lists of Vectors, the IntersectionBasis(V) function returns a list of Vectors.  Otherwise, a set of Vectors is returned.

• 

The constructor options provide additional information (readonly, shape, storage, order, datatype, and attributes) to the Vector constructor that builds the result. These options may also be provided in the form outputoptions=[...], where [...] represents a Maple list.  If a constructor option is provided in both the calling sequence directly and in an outputoptions option, the latter takes precedence (regardless of the order).

• 

These functions are part of the LinearAlgebra package, and so they can be used in the form Basis(..), SumBasis(..), or IntersectionBasis(..) only after executing the command with(LinearAlgebra). However, it can always be accessed through the long form of the command by using LinearAlgebra[Basis](..), LinearAlgebra[SumBasis](..), or LinearAlgebra[IntersectionBasis](..).

Examples

withLinearAlgebra:

v11|0|0:

v20|1|0:

v30|0|1:

v40|1|1:

v51|1|1:

v64|2|0:

v73|0|1:

Basisv1,v2,v2

100,010

(1)

Basisv4,v6,v7

420,301,011

(2)

Basisv1

100

(3)

BasisVector4,shape=zero

(4)

SumBasisv1,v2,v6,0|1|0

100,010

(5)

SumBasisv1,v2,v3,v5

111,100,010

(6)

IntersectionBasisv1,v2,v3,v7,v4,v6,v3,v4,v5

011,001,111

(7)

IntersectionBasisv1,v3,v7

300

(8)

IntersectionBasisv1,v2,v3

(9)

See Also

LinearAlgebra[GramSchmidt]

LinearAlgebra[LUDecomposition]

LinearAlgebra[NullSpace]

LinearAlgebra[RowSpace]

Vector

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam