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

◆ allocateElementArray() [2/2]

ElementArray VectorArithmetic::allocateElementArray ( ComponentIndex nelems) const
inline

Create a coefficient vector with room for nelems coefficients.

Definition at line 752 of file VectorArithmetic.hpp.

752 {
753 return std::visit([&](auto& arg) -> ElementArray { return arg->allocateElementArray(nelems);}, mConcreteVector);
754 }

References mConcreteVector.

Referenced by ResF4toM2Interface::from_M2_vec(), SchreyerFrame::insertBasic(), and F4Res::loadRow().