Package de.tilman_neumann.jml
Class ChebyshevPolynomials
- java.lang.Object
-
- de.tilman_neumann.jml.ChebyshevPolynomials
-
public class ChebyshevPolynomials extends Object
Computation of values of the Chebyshev polynomials.- Author:
- Tilman Neumann
-
-
Constructor Summary
Constructors Constructor Description ChebyshevPolynomials()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BigDecimalChebyshevT(int n, BigDecimal x)Recurrent computation of Chebyshev polynomials of the first kind.static BigDecimalChebyshevU(int n, BigDecimal x)Recurrent computation of Chebyshev polynomials of the second kind.static voidmain(String[] args)Test.
-
-
-
Method Detail
-
ChebyshevT
public static BigDecimal ChebyshevT(int n, BigDecimal x)
Recurrent computation of Chebyshev polynomials of the first kind.- Parameters:
n- degreex- argument- Returns:
- T_n(x)
-
ChebyshevU
public static BigDecimal ChebyshevU(int n, BigDecimal x)
Recurrent computation of Chebyshev polynomials of the second kind.- Parameters:
n- degreex- argument- Returns:
- U_n(x)
-
main
public static void main(String[] args)
Test.- Parameters:
args- ignored
-
-