FLINT3.7.0-dev

fmpz_poly_mat_is_zero, fmpz_poly_mat_is_one

Synopsis#include <flint/fmpz_poly_mat.h>
int fmpz_poly_mat_is_zero(const fmpz_poly_mat_t mat)source
int fmpz_poly_mat_is_one(const fmpz_poly_mat_t mat)source

Returns 1 if mat is zero, respectively has the constant 1 on the main diagonal and zeros elsewhere (it need not be square), and 0 otherwise.

Cite this page

The FLINT team, “fmpz_poly_mat_is_zero, fmpz_poly_mat_is_one (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_is_zero.html (generated 2026-10-20).