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

Function activateTrig

src/compute-engine/rubi/rubi-utils.ts:2425–2427  ·  view source on GitHub ↗
(ce: ComputeEngine, e: Expression)

Source from the content-addressed store, hash-verified

2423
2424/** Rubi AlgebraicFunctionQ — u is an algebraic function of x */
2425function algebraicFnQ(u: Expression, x: string, flag: boolean): boolean {
2426 if (!u.ops || !u.has(x)) return true;
2427 switch (u.operator) {
2428 case 'Power': {
2429 const e = u.ops[1];
2430 if (isLiteralRational(e.evaluate()) || (flag && !e.has(x)))

Callers 5

sameNumericallyFunction · 0.90
activateMethod · 0.90
functionOfTrigFunction · 0.85
functionOfQFunction · 0.85
rubi-utils.tsFile · 0.85

Calls 1

mapTrigHeadsFunction · 0.85

Tested by 1

sameNumericallyFunction · 0.72