FLINT3.7.0-dev

fmpz_poly_mat_prod

Synopsis#include <flint/fmpz_poly_mat.h>
void fmpz_poly_mat_prod(fmpz_poly_mat_t res, fmpz_poly_mat_t * const factors, slong n)source

Sets res to the product of the n matrices factors[0], ..., factors[n-1], all of the same square dimension, computed by a balanced product tree. The empty product is the identity.

Cite this page

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