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

◆ pushBackElement()

template<typename RingType>
void ConcreteVectorArithmetic< RingType >::pushBackElement ( ElementArray & coeffs,
const ElementArray & take_from_here,
size_t loc ) const
inline

Definition at line 553 of file VectorArithmetic.hpp.

556 {
557 auto& svec = * elementArray(coeffs);
559 assert(loc < svec2.size());
561 mRing->init_set(a, svec2[loc]);
562 svec.emplace_back(a);
563 }
size_t size(const ElementArray &coeffs) const
Linear Algebra /////.
ElementArrayContainer * elementArray(const ElementArray &f) const
typename RingType::ElementType FieldElement

References elementArray(), and mRing.