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

Function coeffX

src/compute-engine/rubi/rubi-utils.ts:3210–3213  ·  view source on GitHub ↗

Coefficient of xᵏ in a constant/linear expr (0 when absent).

(u: Expression, x: string, k: number)

Source from the content-addressed store, hash-verified

3208 * else null. */
3209function classifyFactor(
3210 ce: ComputeEngine,
3211 f: Expression,
3212 x: string
3213): Factor | null {
3214 let exp: Expression = ce.One;
3215 let base = f;
3216 if (f.operator === 'Power' && f.ops) {

Callers 2

foeTestAuxFunction · 0.85
foeFunctionAuxFunction · 0.85

Calls 1

polyCoeffsXFunction · 0.85

Tested by

no test coverage detected