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

◆ to_modp_long() [2/4]

long ConcreteVectorArithmetic< M2::ARingZZp >::to_modp_long ( const ElementArray & coeffs,
size_t loc ) const
inline

Definition at line 600 of file VectorArithmetic.hpp.

601{
602 auto& svec = * elementArray(coeffs);
603 return mRing->coerceToLongInteger(svec[loc]);
604}
ElementArrayContainer * elementArray(const ElementArray &f) const

References elementArray(), and mRing.