up previous next
LaguerrePoly --
Orthogonal Polynomials: Chebyshev, Hermite, Laguerre
|
LaguerrePoly(N: INT, X: RINGELEM): RINGELEM |
The function
LaguerrePoly returns the
N-th Laguerre polynomial
multiplied by
factorial(N) (so that the coefficients are integers).
This function also works if
X is not an indeterminate: the result
is then the evaluation of the polynomial at the given value.
/**/ use R ::= QQ[x];
/**/ LaguerrePoly(3,x);
-x^3 +9*x^2 -18*x +6
|