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

◆ operator*=()

template<typename MatType>
template<typename ElementType>
void SubMatrix< MatType >::operator*= ( ElementType & c)
inline

Definition at line 171 of file mat-arith.hpp.

172 {
173 for (long rA = begin_row; rA < end_row; ++rA)
174 {
175 for (long cA = begin_column; cA < end_column; ++cA)
176 {
177 auto& a = matrix.entry(rA, cA);
178 matrix.ring().mult(a, a, c);
179 }
180 }
181 }
const long begin_row
Definition mat-arith.hpp:84
const long begin_column
Definition mat-arith.hpp:86
const long end_column
Definition mat-arith.hpp:87
const long end_row
Definition mat-arith.hpp:85
MatType & matrix
Definition mat-arith.hpp:83

References begin_column, begin_row, end_column, end_row, and matrix.