FLINT3.7.0-dev

nfloat_mat_mul

Synopsis#include <flint/nfloat.h>
int nfloat_mat_mul(gr_mat_t C, const gr_mat_t A, const gr_mat_t B, gr_ctx_t ctx)source

Sets C = AB, choosing between classical multiplication with the dot product, nfloat_mat_mul_fixed and nfloat_mat_mul_block according to the dimensions and the precision (tuned cutoffs). Contexts with infinities, NaN or directed rounding, and matrices with a dimension of at most 2, always use classical multiplication. The methods are described in Matrix multiplication.

Guides#

Cite this page

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