Class Polynomials
java.lang.Object
org.episteme.core.mathematics.analysis.polynomials.Polynomials
Utility class for computing orthogonal polynomials.
* @author Silvere Martin-Michiellot
- Since:
- 1.0
- Author:
- Gemini AI (Google DeepMind)
-
Method Summary
Modifier and TypeMethodDescriptionstatic RealchebyshevT(int n, Real x) Evaluates the Chebyshev polynomial of the first kind T_n(x).static RealchebyshevU(int n, Real x) Evaluates the Chebyshev polynomial of the second kind U_n(x).static RealEvaluates the Hermite polynomial H_n(x) (physicist's convention).static RealEvaluates the Laguerre polynomial L_n(x).static RealEvaluates the Legendre polynomial P_n(x) at the given point.static ReallegendreDerivative(int n, Real x) Evaluates the derivative of the Legendre polynomial P'_n(x) at the given point.
-
Method Details
-
legendre
-
legendreDerivative
Evaluates the derivative of the Legendre polynomial P'_n(x) at the given point. Uses the relation: P'_n(x) = n (x P_n(x) - P_{n-1}(x)) / (x^2 - 1) for x != ±1- Parameters:
n- degree of the polynomialx- point at which to evaluate- Returns:
- P'_n(x)
-
chebyshevT
-
chebyshevU
-
hermite
-
laguerre
-