LaguerreL
The Laguerre polynomial , and its generalization with a parameter , orthogonal on with weight . Provided by @enumeratio/analytic.
✓ checked against that system · ! checked, with disagreements (hover a chip)Wikipedia
Laguerre polynomialsMathWorldLaguerrePolynomialDLMF18.318.1.I1.ix7.p1Wolfram LanguageLaguerreL✓LaguerreL(n, x)the Laguerre polynomial at , for an integer .SageMath
laguerre(n, x)SymPylaguerre(n, x)mpmathenumeratio_laguerre(n, 0, x)Juliaenumeratio_ball((n, x) -> hypergeometric_1f1(-n, CC(1), x), n, x)LaguerreL(n, a, x)the generalized Laguerre polynomial at , for an integer and any .SageMath
gen_laguerre(n, a, x)SymPyassoc_laguerre(n, a, x)mpmathenumeratio_laguerre(n, a, x)Juliaenumeratio_ball((n, a, x) -> _rising(a + 1, n) * rgamma(n + 1) * hypergeometric_1f1(-n, a + 1, x), n, a, x)Typed signatures
| Type | Package | Applies |
|---|---|---|
(number, number, number?) -> number | analytic | always |
Details
- , , and . The two-argument is .
- , a polynomial in of degree whose leading coefficient is .
- , so
D(LaguerreL(n, x), x)is at a symbolic order too. - , and .
- .
- At an integer and a symbolic or exact the result is the explicit sum, so a symbolic stays symbolic. At a floating-point or complex and a numeric the recurrence runs directly on the number, and the head stays unevaluated if it overflows the double range.
- A symbolic or negative order stays unevaluated, and so does a non-integer one. Wolfram continues to those orders through the confluent hypergeometric , which is not implemented here.
Plot
Examples
1 more kept as data, checked against the oraclesBasic #
Scope #
About
| Examples | 18 |
|---|---|
| Checked against | Wolfram Language 18 agreeSageMath 18 agreeSymPy 16 agree2 errormpmath 9 agreeJulia 9 agree |
| Crosswalk | WikipediaMathWorldDLMF ×2Wolfram LanguageSageMath ×2SymPy ×2mpmath ×2Julia ×2 |
Implementation
referenceengine
notatioThe explicit sum over up to , with for the two-argument form. The kernel runs the three-term recurrence at a number instead, and the two are checked against each other.
nativeengine
typescriptpackages/symbols/analysis/analytic/src/laguerre.tsmappedexternal
wolfram / mpmath / sympypackages/oracle/src/mappings.tsLaguerreL[n, x] and LaguerreL[n, a, x]; mpmath.laguerre(n, a, x); sympy.assoc_laguerre(n, a, x).
mapped
sympypackages/oracle/src/mappings.tsmapped
sympypackages/oracle/src/mappings.tsSymPy's assoc_laguerre(n, a, x) is the generalized Laguerre polynomial; laguerre(n, x) is its a = 0 case.
mapped
mpmathpackages/oracle/src/mappings.tsmapped
mpmathpackages/oracle/src/mappings.tsmapped
sagepackages/oracle/src/mappings.tsmapped
sagepackages/oracle/src/mappings.tsmapped
juliapackages/oracle/src/mappings.tsmapped
juliapackages/oracle/src/mappings.ts See also: HermiteH, ChebyshevT, LegendrePolynomial, LaplaceTransform