linalg(deprecated)/intbasis - 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)/intbasis

linalg(deprecated)

  

intbasis

  

determine a basis for the intersection of spaces

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

intbasis(S1, S2, ..., Sn)

Parameters

S[i]

-

vector, set of vectors, or list of vectors

Description

• 

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

  

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

• 

A basis for the intersection 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,intbasis) allows the use of the abbreviated form of this command.

Examples

Important: The linalg package has been deprecated. Use the superseding packages LinearAlgebra[IntersectionBasis], 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)
> 

intbasis⁡v1,v2,v3,v4

∅

(5)
> 

intbasis⁡v1,v2,v3,v3,v4,v2,v3

1211

(6)
> 

u≔evalm⁡v1−v2

u≔1−11−1

(7)
> 

v≔evalm⁡v1+v2

v≔1111

(8)
> 

w≔evalm⁡v1−v3

w≔0−20−1

(9)
> 

intbasis⁡u,v,w,v1,v2,v3

0201,−11−11,−20−20

(10)

See Also

linalg(deprecated)[basis]

linalg(deprecated)[sumbasis]

LinearAlgebra