FLINT3.7.0-dev

fmpz_poly_mat_nullspace

Synopsis#include <flint/fmpz_poly_mat.h>
slong fmpz_poly_mat_nullspace(fmpz_poly_mat_t res, const fmpz_poly_mat_t mat)source

Sets the first n - r columns of the n \times n matrix res to a basis of the right nullspace of the m \times n matrix mat over \mathbb{Q}(x), with polynomial entries, and returns n - r; the other columns are set to zero. The basis is read off from fmpz_poly_mat_rref.

Cite this page

The FLINT team, “fmpz_poly_mat_nullspace (fmpz_poly_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_poly_mat/fmpz_poly_mat_nullspace.html (generated 2026-10-20).