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

Function genBinomialMatchQ

src/compute-engine/rubi/rubi-utils.ts:2210–2213  ·  view source on GitHub ↗
(u: Expression, x: string)

Source from the content-addressed store, hash-verified

2208 const split = splitMonoFactor(u, x);
2209 if (split === null) return null;
2210 const { scale, exp: mExp, rest } = split;
2211 if (rest === null) return null;
2212 const gp = genBinomialPartsX(rest, x);
2213 if (gp !== null) {
2214 const n = mExp.add(gp.n).evaluate();
2215 const q = mExp.add(gp.q).evaluate();
2216 if (zeroQ(n) || zeroQ(q)) return null;

Callers 1

rubi-utils.tsFile · 0.85

Calls 2

monoClassesXFunction · 0.85
isSameMethod · 0.65

Tested by

no test coverage detected