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

◆ subtractMultipleTo() [2/10]

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

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

998{
999 DMatGFFlint D(C.ring(), A.numRows(), B.numColumns());
1000 fq_zech_mat_mul(D.fq_zech_mat(),
1001 A.fq_zech_mat(),
1002 B.fq_zech_mat(),
1003 A.ring().flintContext());
1004 fq_zech_mat_sub(C.fq_zech_mat(),
1005 C.fq_zech_mat(),
1006 D.fq_zech_mat(),
1007 A.ring().flintContext());
1008}
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().