Macaulay2 Engine
Loading...
Searching...
No Matches
◆
check_monomial()
bool
MonomialInfo::check_monomial
(
const_packed_monomial
m
)
const
inline
Definition at line
355
of file
moninfo.hpp
.
356
{
357
// Determine if m represents a well-formed monomial.
358
m++;
359
for
(
int
j =
nslots
- 1; j > 0; --j)
360
if
(
mask
& (*m++))
return
false
;
361
return
true
;
362
}
MonomialInfo::mask
monomial_word mask
Definition
moninfo.hpp:112
MonomialInfo::nslots
int nslots
Definition
moninfo.hpp:110
References
mask
, and
nslots
.
Referenced by
mult()
.
MonomialInfo
Generated on
for Macaulay2 Engine by
1.15.0