FLINT3.7.0-dev

fmpz_mod_mat_mul_classical_threaded

Synopsis#include <flint/fmpz_mod_mat.h>
void fmpz_mod_mat_mul_classical_threaded(fmpz_mod_mat_t C, const fmpz_mod_mat_t A, const fmpz_mod_mat_t B, const fmpz_mod_ctx_t ctx)source

Sets C = AB with the classical algorithm: each entry is an exact dot product (_fmpz_vec_dot on a transposed copy of B) reduced once. Blocks of entries are distributed over the available threads when all dimensions are at least 10. fmpz_mod_mat_mul does not call this function.

Cite this page

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