### 5.46.13 Kernel of a linear function : Nullspace

Warning This function is useful in Maple mode only (hit the state line red button then Prog style, then choose Maple and Apply).
Nullspace is the inert form of nullspace.
Nullspace takes as argument an integer matrix of a linear function f with respect to the canonical basis.
Nullspace) followed by mod p returns a list of vectors that is a basis of the kernel of f computed in ℤ/pℤ[X].
Input :

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

Output :

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

Input (in Maple mode):

Nullspace([[1,2],[3,1]]) mod 5

Output :

[2,-1]

In Xcas mode, the equivalent input is :

nullspace([[1,2],[3,1]] % 5)

Output :

[2% 5,-1]