FLINT3.7.0-dev

_acb_mat_diag_prod, acb_mat_diag_prod

Synopsis#include <flint/acb_mat.h>
void _acb_mat_diag_prod(acb_t res, const acb_mat_t mat, slong a, slong b, slong prec)source
void acb_mat_diag_prod(acb_t res, const acb_mat_t mat, slong prec)source

Set res to the product of the diagonal entries of mat; the underscore version takes the product of the entries with index a \le i < b (which must be in range; the empty product is 1).

Cite this page

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