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

◆ to_varpower()

void Monoid::to_varpower ( const_monomial m,
gc_vector< int > & result_vp ) const

Definition at line 735 of file monoid.cpp.

736{
738 to_expvector(m, EXP1);
740}
exponents::Exponents exponents_t
static void from_expvector(int n, exponents::ConstExponents a, Vector &result)
void to_expvector(const_monomial m, exponents_t result_exp) const
Definition monoid.cpp:747
size_t exp_size
Definition monoid.hpp:120
const int mVariableCount
number of variables
Definition monoid.hpp:99
VALGRIND_MAKE_MEM_DEFINED & result(result)
#define ALLOCATE_EXPONENTS(byte_len)
Definition monoid.hpp:62

References ALLOCATE_EXPONENTS, exp_size, ExponentList< int, true >::from_expvector(), mVariableCount, result(), and to_expvector().

Referenced by Matrix::make_monideal(), and makemonideal().