Macaulay2 Engine
Loading...
Searching...
No Matches

◆ mult() [9/10]

void MatrixOps::mult ( const DMatZZpFlint & A,
const DMatZZpFlint & B,
DMatZZpFlint & result_product )
inline

Definition at line 887 of file mat-linalg.hpp.

890{
891 // DMatZZpFlint& A1 = const_cast<DMatZZpFlint&>(A); // needed because
892 // nmod_mat_mul doesn't declare params const
893 // DMatZZpFlint& B1 = const_cast<DMatZZpFlint&>(B);
894 // The A1 and B1 on the next line are switched because the memory layout
895 // expected
896 // is the transpose of what we have for DMat.
897 nmod_mat_mul(result_product.nmod_mat(), A.nmod_mat(), B.nmod_mat());
898}
const nmod_mat_t & nmod_mat() const

References DMat< M2::ARingZZpFlint >::nmod_mat().