FLINT3.7.0-dev

_nmod_mat_mul_classical_op

Synopsis#include <flint/nmod_mat.h>
void _nmod_mat_mul_classical_op(nmod_mat_t D, const nmod_mat_t C, const nmod_mat_t A, const nmod_mat_t B, int op)source

Sets D=ABD = AB if op is 0, D=C+ABD = C + AB if op is 1 and D=C−ABD = C - AB if op is −1-1, by the classical algorithm of nmod_mat_mul_classical. DD may be aliased with CC but not with AA or BB. CC is not read if op is 0.

Cite this page

The FLINT team, “_nmod_mat_mul_classical_op (nmod_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nmod_mat/_nmod_mat_mul_classical_op.html (generated 2026-11-02).