up previous next
LinKerModP

find the kernel of a matrix

Syntax
LinKerModP(M:MAT):LIST

where M is a matrix over QQ or ZZ.

Description
***** NOT YET IMPLEMENTED *****

This function returns a list whose components are lists representing a basis for the kernel of M over the current field of coefficients.

Example
  M := Mat([[1,2,3,4],[5,6,7,8],[9,10,11,12]]);
  Use ZZ/(3)[x];
  LinKerModP(M);
[[1, 1, 1, 0], [0, 2, 2, 2]]
-------------------------------
  Use ZZ/(7)[x];
  LinKerModP(M);
[[2, 3, 2, 0], [1, 3, 5, 5]]
-------------------------------
  N := M*Transposed(Mat(It));
  [ [ Mod(X,Characteristic()) | X In Row ]  | Row In N ];
[[0, 0], [0, 0], [0, 0]]
-------------------------------

See Also