linalg(deprecated)
sumbasis
determine a basis for the sum of vector spaces
Calling Sequence
Parameters
Description
Examples
sumbasis(S1, S2, ...)
S[i]
-
vector, set of vectors or list of vectors
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.
withlinalg:
v1≔vector1,0,1,0
v1≔1010
v2≔vector0,1,0,1
v2≔0101
v3≔vector1,2,1,1
v3≔1211
v4≔vector−1,−2,1,0
v4≔−1−210
sumbasisv1,v2,v3,v4
v1,v2,v3,v4
sumbasisv1,v2,v3,v3,v4,v2,v3
See Also
linalg(deprecated)[basis]
linalg(deprecated)[intbasis]
LinearAlgebra
Download Help Document