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

◆ displayElement()

template<typename RingType>
std::ostream & ConcreteVectorArithmetic< RingType >::displayElement ( std::ostream & o,
const ElementArray & v,
int index ) const
inline

Definition at line 467 of file VectorArithmetic.hpp.

468 {
469 auto& vec = * elementArray(v);
470
471 buffer b;
472 mRing->elem_text_out(b, vec[index], true, true, true);
473 o << b.str();
474 return o;
475 }
ElementArrayContainer * elementArray(const ElementArray &f) const

References elementArray(), mRing, and buffer::str().