Previous Up Next

15.1.8  Basis of a linear subspace

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

Example

basis([[1,2,3],[1,1,1],[2,3,4]])
     
⎧
⎨
⎩
⎡
⎣
−1,0,1⎤
⎦
,⎡
⎣
0,−1,−2⎤
⎦
⎫
⎬
⎭
          

Previous Up Next