FLINT3.7.0-dev

_fmpz_mat_mul_double_word, _fmpz_mat_mul_double_word_internal

Synopsis#include <flint/fmpz_mat.h>
void _fmpz_mat_mul_double_word(fmpz_mat_t C, const fmpz_mat_t A, const fmpz_mat_t B)source
void _fmpz_mat_mul_double_word_internal(fmpz_mat_t C, const fmpz_mat_t A, const fmpz_mat_t B, int sign, flint_bitcnt_t bits)source

Multiplies matrices whose entries fit in two words (with one more bit when signed) by packing them into two-word integers and accumulating the products in four or five words, using several threads. The internal version takes the sign flag and the bound |C_{ij}| < 2^{\mathit{bits}}.

Cite this page

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