-
-
Notifications
You must be signed in to change notification settings - Fork 641
Closed
Milestone
Description
Not only is laguerre(n,x)
not symbolic, a naive implementation is already 2x as fast at n=100
and 10x at n=1000
:
R.<x> = PolynomialRing(QQ, 'x')
def lag(n):
return R([binomial(n,k)*(-1)^k/factorial(k) for k in xrange(n+1)])
- https://en.wikipedia.org/wiki/Laguerre_polynomials
- http://mathworld.wolfram.com/LaguerrePolynomial.html
- http://mathworld.wolfram.com/AssociatedLaguerrePolynomial.html
Depends on #17953
Component: symbolics
Keywords: special, function, holonomic, orthogonal
Author: Ralf Stephan
Branch/Commit: f0d809f
Reviewer: Marc Mezzarobba
Issue created by migration from https://trac.sagemath.org/ticket/17151