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

◆ to_intstar_vector()

bool MonomialInfo::to_intstar_vector ( const_packed_monomial m,
int * result,
int & result_comp ) const
inline

Definition at line 258 of file moninfo.hpp.

261 {
262 // Unpack the monomial m into result, which should already be allocated
263 // 0..nvars-1
264 // this is to connect with older 'int *' monomials.
266 result_comp = static_cast<int>(m[1]);
267 m += firstvar;
268 for (int i = 0; i < nvars; i++) *result++ = static_cast<int>(*m++);
269 return true;
270 }
unsigned long ncalls_to_expvector
Definition moninfo.hpp:136

References firstvar, ncalls_to_expvector, and result().