Previous Up Next

6.47.9  Basis of a linear subspace : basis

The basis command finds a basis of a linear subspace of ℝn given a spanning set.


Example.
Input:

basis([[1,2,3],[1,1,1],[2,3,4]])

Output:




−1,0,1
,
0,−1,−2



Previous Up Next