FLINT3.7.0-dev

nmod_poly_mat_max_length, nmod_poly_mat_degree

Synopsis#include <flint/nmod_poly_mat.h>
slong nmod_poly_mat_max_length(const nmod_poly_mat_t A)source
slong nmod_poly_mat_degree(const nmod_poly_mat_t pmat)source

Returns the largest length of an entry (0 if all entries are zero), respectively the largest degree, which is the largest length minus one (-1 for the zero matrix).

Cite this page

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