FLINT3.7.0-dev

_arb_mat_diag_prod, arb_mat_diag_prod

Synopsis#include <flint/arb_mat.h>
void _arb_mat_diag_prod(arb_t res, const arb_mat_t mat, slong a, slong b, slong prec)source
void arb_mat_diag_prod(arb_t res, const arb_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, “_arb_mat_diag_prod, arb_mat_diag_prod (arb_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/arb_mat/_arb_mat_diag_prod.html (generated 2026-10-20).