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

◆ skew_vars() [2/2]

int SkewMultiplication::skew_vars ( const long * exp,
int * result ) const

Definition at line 76 of file skew.cpp.

80{
81 int i;
82 int next = 0;
83 for (i = 0; i < _n_skew; i++)
84 {
85 int v = _skew_list[i];
86 if (exp[v] > 0) result[next++] = v;
87 }
88 return next;
89}
VALGRIND_MAKE_MEM_DEFINED & result(result)

References _n_skew, _skew_list, and result().