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

◆ mult_sign() [1/2]

int SkewMultiplication::mult_sign ( const int * exp1,
const int * exp2 ) const

Definition at line 91 of file skew.cpp.

92{
95 int a = skew_vars(exp1, SKEW1);
96 int b = skew_vars(exp2, SKEW2);
97 return sort_sign(a, SKEW1, b, SKEW2);
98}
exponents::Exponents exponents_t
unsigned long skew_byte_size
Definition skew.hpp:62
int skew_vars(const int *exp, int *result) const
Definition skew.cpp:61
#define ALLOCATE_EXPONENTS(byte_len)
Definition monoid.hpp:62
static int sort_sign(int a, int *v1, int b, int *v2)
Definition skew.cpp:19

References ALLOCATE_EXPONENTS, skew_byte_size, skew_vars(), and sort_sign().

Referenced by divide(), Matrix::koszul_monomials(), MonomialInfo::skew_mult_sign(), ResMonoidDense::skew_mult_sign(), and ResMonoidSparse::skew_mult_sign().