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

◆ mult() [3/10]

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

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

948{
949 // DMatGFFlintBig& A1 = const_cast<DMatGFFlintBig&>(A); // needed because
950 // nmod_mat_mul doesn't declare params const
951 // DMatGFFlintBig& B1 = const_cast<DMatGFFlintBig&>(B);
952 // The A1 and B1 on the next line are switched because the memory layout
953 // expected
954 // is the transpose of what we have for DMat.
955 fq_nmod_mat_mul(result_product.fq_nmod_mat(),
956 A.fq_nmod_mat(),
957 B.fq_nmod_mat(),
958 A.ring().flintContext());
959}
const ACoeffRing & ring() const
const fq_nmod_mat_t & fq_nmod_mat() const
const fq_nmod_ctx_struct * flintContext() const

References M2::ARingGFFlintBig::flintContext(), DMat< M2::ARingGFFlintBig >::fq_nmod_mat(), and DMat< M2::ARingGFFlintBig >::ring().