MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / polynomialOrder

Function polynomialOrder

src/compute-engine/boxed-expression/order.ts:497–502  ·  view source on GitHub ↗
(expr: Expression)

Source from the content-addressed store, hash-verified

495 }
496
497 if (rankA === 'radical') {
498 if (isFunction(a) && isFunction(b)) return order(a.op1, b.op1);
499 return 0;
500 }
501
502 if (rankA === 'constant' || rankA === 'symbol') {
503 const aSym = isSymbol(a) ? a.symbol : '';
504 const bSym = isSymbol(b) ? b.symbol : '';
505 if (aSym === bSym) return 0;

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected