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

◆ addMultipleTo() [3/12]

void MatrixOps::addMultipleTo ( DMatGFFlint & C,
const DMatGFFlint & A,
const DMatGFFlint & B )
inline

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

983{
984 DMatGFFlint D(C.ring(), A.numRows(), B.numColumns());
985 fq_zech_mat_mul(D.fq_zech_mat(),
986 A.fq_zech_mat(),
987 B.fq_zech_mat(),
988 A.ring().flintContext());
989 fq_zech_mat_add(C.fq_zech_mat(),
990 C.fq_zech_mat(),
991 D.fq_zech_mat(),
992 A.ring().flintContext());
993}
const fq_zech_mat_t & fq_zech_mat() const
const ACoeffRing & ring() const
const fq_zech_ctx_struct * flintContext() const
DMat< M2::ARingGFFlint > DMatGFFlint

References M2::ARingGFFlint::flintContext(), DMat< M2::ARingGFFlint >::fq_zech_mat(), DMat< M2::ARingGFFlint >::numColumns(), DMat< M2::ARingGFFlint >::numRows(), and DMat< M2::ARingGFFlint >::ring().