d_mat_mul_classical
#include <flint/d_mat.h>Sets using the classical algorithm in double-precision arithmetic. Throws an exception unless has as many rows as and as many columns as ; the number of columns of must equal the number of rows of (not checked). Aliasing of with or is allowed.
The function transposes and then forms the dot products of rows of and rows of in blocks of 8 columns, so that the inner loop runs over contiguous memory. Each entry is accumulated from partial sums of at most 8 terms, so the result can differ in the last bits from a straightforward loop. If is aliased with or , the product is computed into a temporary matrix and swapped into , and the dimensions of are not checked.
The FLINT team, “d_mat_mul_classical (d_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/d_mat/d_mat_mul_classical.html (generated 2026-11-02).
@misc{flint-doc-d-mat-d-mat-mul-classical,
author = {{The FLINT team}},
title = {{d\_mat\_mul\_classical (d\_mat.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/d_mat/d_mat_mul_classical.html},
note = {Generated 2026-11-02}
}