Class ChebyshevPolynomial

java.lang.Object
com.softsynth.jmsl.util.ChebyshevPolynomial

public class ChebyshevPolynomial
extends java.lang.Object
ChebyshevPolynomial
Author:
Nick Didkovsky
  • Constructor Summary

    Constructors
    Constructor Description
    ChebyshevPolynomial()  
  • Method Summary

    Modifier and Type Method Description
    static void main​(java.lang.String[] args)  
    static Polynomial T​(int order)
    Calculates Chebyshev polynomial of specified integer order.
    static Polynomial TRecurse​(int order)  

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ChebyshevPolynomial

      public ChebyshevPolynomial()
  • Method Details

    • T

      public static Polynomial T​(int order)
      Calculates Chebyshev polynomial of specified integer order. Recursively generated using relation Tk+1(x) = 2xTk(x) - Tk-1(x)
      Returns:
      Chebyshev polynomial of specified order
    • TRecurse

      public static Polynomial TRecurse​(int order)
    • main

      public static void main​(java.lang.String[] args)