linalg(deprecated)/sumbasis - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


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

linalg(deprecated)

  

sumbasis

  

determine a basis for the sum of vector spaces

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

sumbasis(S1, S2, ...)

Parameters

S[i]

-

vector, set of vectors or list of vectors

Description

• 

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

  

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

• 

A basis for the sum of the vector spaces spanned by the vectors in Si is returned.

• 

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

• 

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

Examples

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

> 

with⁡linalg:

> 

v1≔vector⁡1,0,1,0

v1≔1010

(1)
> 

v2≔vector⁡0,1,0,1

v2≔0101

(2)
> 

v3≔vector⁡1,2,1,1

v3≔1211

(3)
> 

v4≔vector⁡−1,−2,1,0

v4≔−1−210

(4)
> 

sumbasis⁡v1,v2,v3,v4

v1,v2,v3,v4

(5)
> 

sumbasis⁡v1,v2,v3,v3,v4,v2,v3

v1,v2,v3,v4

(6)

See Also

linalg(deprecated)[basis]

linalg(deprecated)[intbasis]

LinearAlgebra