Basis of the intersection of two subspaces

### 15.1.9 Basis of the intersection of two subspaces

The ibasis command finds a basis for the intersection of two subspaces of ℝn.

- ibasis takes two arguments: L1 and L2, two lists of vectors generating two subspaces of ℝn.
- ibasis(L1,L2) returns a list of vectors forming a basis for the intersection of these two subspaces.

#### Example

ibasis([[1,2]],[[2,4]])

| ⎧ ⎨ ⎩ | ⎡ ⎣ | 1,2 | ⎤ ⎦ | ⎫ ⎬ ⎭