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

Function classifyFactor

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

Classify a single product factor into a trig monomial or binomial power, * else null.

(
  ce: ComputeEngine,
  f: Expression,
  x: string
)

Source from the content-addressed store, hash-verified

2817// `Arsinh…`, logarithms) + calculus heads. `InverseFunctionFreeQ[u, x]` is
2818// True when none of these appear with `x` inside — a guard Rubi uses to keep
2819// reduction rules from firing on already-integrated-looking subexpressions.
2820const INVERSE_FNS = new Set([
2821 'Arcsin',
2822 'Arccos',
2823 'Arctan',
2824 'Arccot',
2825 'Arcsec',
2826 'Arccsc',
2827 'Arsinh',
2828 'Arcosh',
2829 'Artanh',
2830 'Arcoth',
2831 'Arsech',
2832 'Arcsch',
2833 'Ln',
2834 'Log',
2835]);
2836const CALCULUS_FNS = new Set([
2837 'Integrate',
2838 'D',
2839 'Derivative',
2840 'Sum',

Callers 1

unifyProductClausesFunction · 0.85

Calls 3

trigMonoPartsFunction · 0.85
trigBinomPartsFunction · 0.85
hasMethod · 0.65

Tested by

no test coverage detected