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

◆ mult_sign() [2/2]

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

Definition at line 100 of file skew.cpp.

101{
104 int a = skew_vars(exp1, SKEW1);
105 int b = skew_vars(exp2, SKEW2);
106 return sort_sign(a, SKEW1, b, SKEW2);
107}
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().