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

◆ add_constant_get_position()

template<class Field>
int add_constant_get_position ( gc_vector< typename Field::element_type > & consts,
typename Field::element_type c )

!! smarter implementation coming !!!

Definition at line 226 of file NAG.cpp.

228{
230 consts.push_back(c);
231 return static_cast<int>(consts.size()) - 1;
232}

Referenced by SLP< Field >::poly_to_horner_slp().