Package de.tilman_neumann.jml
Class ChebyshevPolynomials
java.lang.Object
de.tilman_neumann.jml.ChebyshevPolynomials
public class ChebyshevPolynomials
extends java.lang.Object
Computation of values of the Chebyshev polynomials.
-
Constructor Summary
Constructors Constructor Description ChebyshevPolynomials()
-
Method Summary
Modifier and Type Method Description static java.math.BigDecimal
ChebyshevT(int n, java.math.BigDecimal x)
Recurrent computation of Chebyshev polynomials of the first kind.static java.math.BigDecimal
ChebyshevU(int n, java.math.BigDecimal x)
Recurrent computation of Chebyshev polynomials of the second kind.static void
main(java.lang.String[] args)
Test.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ChebyshevPolynomials
public ChebyshevPolynomials()
-
-
Method Details
-
ChebyshevT
public static java.math.BigDecimal ChebyshevT(int n, java.math.BigDecimal x)Recurrent computation of Chebyshev polynomials of the first kind.- Parameters:
n
- degreex
- argument- Returns:
- T_n(x)
-
ChebyshevU
public static java.math.BigDecimal ChebyshevU(int n, java.math.BigDecimal x)Recurrent computation of Chebyshev polynomials of the second kind.- Parameters:
n
- degreex
- argument- Returns:
- U_n(x)
-
main
public static void main(java.lang.String[] args)Test.- Parameters:
args
- ignored
-