MCPcopy Create free account
hub / github.com/Singular/Singular / checkArgumentIsOrder

Function checkArgumentIsOrder

Singular/dyn_modules/Order/singular.cc:66–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66BOOLEAN checkArgumentIsOrder(leftv arg, nforder * cmp, nforder ** result)
67{
68 if (arg->Typ() != CRING_CMD) return FALSE;
69 coeffs R = (coeffs) arg->Data();
70 if (getCoeffType(R) != nforder_type) return FALSE;
71 nforder * O = (nforder*) R->data;
72 if (cmp && cmp != O) return FALSE;
73 *result = O;
74 return TRUE;
75}
76
77BOOLEAN checkArgumentIsBigintmat(leftv arg, coeffs r, bigintmat ** result)
78{

Callers 5

ideal_from_matFunction · 0.85
elt_from_matFunction · 0.85
discriminantFunction · 0.85
pMaximalOrderFunction · 0.85
nforder_simplifyFunction · 0.85

Calls 2

TypMethod · 0.45
DataMethod · 0.45

Tested by

no test coverage detected