up previous next
HermitePoly --
Orthogonal Polynomials: Chebyshev, Hermite, Laguerre
|
HermitePoly(N: INT, X: RINGELEM): RINGELEM
HermitePoly2(N: INT, X: RINGELEM): RINGELEM |
The function
HermitePoly returns the
N-th Hermite polynomial (as used
in physics); the function
HermitePoly2 returns the
N-th Hermite
polynomial (as used in probability).
These functions also work if
X is not an indeterminate: the result
is then the evaluation of the polynomial at the given value.
/**/ use R ::= QQ[x];
/**/ HermitePoly(3,x);
8*x^3 -12*x
|