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

◆ mult_by_coeff() [1/2]

void M2::ARingTower::mult_by_coeff ( ARingPolynomial & f,
const BaseCoefficientType & b ) const

Definition at line 420 of file aring-tower.cpp.

421{
422 if (f == nullptr) return;
423 if (mBaseRing.is_zero(b))
424 {
425 clear(f);
426 return;
427 }
428 // TODO: add this line one is_one is implemented in ZZpFFPACK: if
429 // (mBaseRing.is_one(b)) return;
431}
void mult_by_coeff(ARingPolynomial &f, const BaseCoefficientType &b) const
void clear(elem &f) const
const ARingZZpFFPACK & mBaseRing

References clear(), mBaseRing, mStartLevel, and mult_by_coeff().

Referenced by mult_by_coeff(), and mult_by_coeff().