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 = AB if op is 0, D = C + AB if op is 1 and D = C - AB if op is -1, by the classical algorithm of nmod_mat_mul_classical. D may be aliased with C but not with A or B. C 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-10-20).