MeijerGReduce
Rewrites a handful of elementary and special functions into MeijerG form, using identities that hold for the whole operand (not just a linear argument), so each is unconditional.
✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram Language
MeijerGReduce!MeijerGReduce(expr, x)expr (a function of x) rewritten as a MeijerG call, for the heads below.Typed signatures
| Type | Package | Applies |
|---|---|---|
(expression, expression) -> expression | analytic | always |
Details
- Covered: , , , , and — for any
g(and, for the Bessel case, anyn), since each identity holds for the operand as a whole rather than requiring a linear argument. - Emits the plain 4-argument
MeijerGform. Wolfram's ownMeijerGReduceoften prefers a generalized 5-argumentMeijerG[…, z, r]with to keep the argument free of an explicit square root; both are correct, and what's verified here is that ours round-trips numerically through this package's ownMeijerGevaluator, not that it matches Wolfram's textual form. - A shifted or scaled argument (
sin(2x),e^{x+1},log(1+x^2),BesselJ(n, 3x), …) is still covered — each identity holds for the operandgas a whole, not just a linear one. Declined: a barelog(x)(no1 + xshift — none of the identities above apply), any other head, and anexprthat doesn't depend onx.
Examples
About
| Examples | 10 |
|---|---|
| Checked against | Wolfram Language 4 agree3 differ2 unevaluated |
| Crosswalk | Wolfram Language |
Implementation
primitive · kernela kernel — an algorithm over mutable state that would not be readable as a tree
nativeengine
typescriptpackages/symbols/analysis/analytic/src/meijer-g-reduce.ts See also: MeijerG