Kernel of a linear function: kernel nullspace ker

### 5.47.12 Kernel of a linear function: kernel nullspace ker

The ker command finds a basis for the kernel of a linear function.
kernel and nullspace are synonyms for ker.

- ker takes one argument:
  A, a matrix representing a linear function with respect to the standard basis.
- ker(A) returns a list of vectors that is a basis of the kernel of the linear function.

#### Example.

Input:

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

Output:

⎡ ⎣ |
1 | 1 | −1
| ⎤ ⎦