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

◆ spair_is_retired()

bool gbA::spair_is_retired ( spair * p) const
private

Definition at line 2294 of file gb-default.cpp.

2295{
2296 if (p->type == SPAIR::SPAIR_GCD_ZZ or p->type == SPAIR::SPAIR_SPAIR)
2297 {
2298 return gb[p->x.pair.i] == nullptr or gb[p->x.pair.j] == nullptr;
2299 }
2300 if (p->type == SPAIR::SPAIR_RING)
2301 {
2302 return gb[p->x.pair.i] == nullptr;
2303 }
2304 if (p->type == SPAIR::SPAIR_SKEW)
2305 {
2306 return gb[p->x.pair.i] == nullptr;
2307 }
2308 return false;
2309}
@ SPAIR_SPAIR
@ SPAIR_GCD_ZZ
@ SPAIR_RING
@ SPAIR_SKEW
void gb(IntermediateBasis &F, int n)
int p

References gb(), p, SPAIR_GCD_ZZ, SPAIR_RING, SPAIR_SKEW, and SPAIR_SPAIR.

Referenced by process_spair().