linalg(deprecated)
intbasis
determine a basis for the intersection of spaces
Calling Sequence
Parameters
Description
Examples
intbasis(S1, S2, ..., Sn)
S[i]
-
vector, set of vectors, or list of vectors
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.
with⁡linalg:
v1≔vector⁡1,0,1,0
v1≔1010
v2≔vector⁡0,1,0,1
v2≔0101
v3≔vector⁡1,2,1,1
v3≔1211
v4≔vector⁡−1,−2,1,0
v4≔−1−210
intbasis⁡v1,v2,v3,v4
∅
intbasis⁡v1,v2,v3,v3,v4,v2,v3
1211
u≔evalm⁡v1−v2
u≔1−11−1
v≔evalm⁡v1+v2
v≔1111
w≔evalm⁡v1−v3
w≔0−20−1
intbasis⁡u,v,w,v1,v2,v3
0201,−11−11,−20−20
See Also
linalg(deprecated)[basis]
linalg(deprecated)[sumbasis]
LinearAlgebra
Download Help Document