Class OrthogonalPolynomialSuite

java.lang.Object
org.drip.numerical.quadrature.OrthogonalPolynomialSuite

public class OrthogonalPolynomialSuite
extends java.lang.Object
OrthogonalPolynomialSuite holds the Suite of Basis Orthogonal Polynomials used in the Construction of the Quadrature. The References are:

  • Abramowitz, M., and I. A. Stegun (2007): Handbook of Mathematics Functions Dover Book on Mathematics
  • Gil, A., J. Segura, and N. M. Temme (2007): Numerical Methods for Special Functions Society for Industrial and Applied Mathematics Philadelphia
  • Press, W. H., S. A. Teukolsky, W. T. Vetterling, and B. P. Flannery (2007): Numerical Recipes: The Art of Scientific Computing 3rd Edition Cambridge University Press New York
  • Stoer, J., and R. Bulirsch (2002): Introduction to Numerical Analysis 3rd Edition Springer
  • Wikipedia (2019): Gaussian Quadrature https://en.wikipedia.org/wiki/Gaussian_quadrature


Author:
Lakshmi Krishnamurthy
  • Constructor Summary

    Constructors
    Constructor Description
    OrthogonalPolynomialSuite()
    Empty OrthogonalPolynomialSuite Constructor
  • Method Summary

    Modifier and Type Method Description
    boolean addOrthogonalPolynomial​(OrthogonalPolynomial orthogonalPolynomial)
    Add the Specified Orthogonal Polynomial
    OrthogonalPolynomial orthogonalPolynomial​(int degree)
    Retrieve the Orthogonal Polynomial corresponding to the Specified Degree
    java.util.TreeMap<java.lang.Integer,​OrthogonalPolynomial> orthogonalPolynomialMap()
    Retrieve the Orthogonal Polynomial Map
    int size()
    Retrieve the Size of the Orthogonal Polynomial Suite

    Methods inherited from class java.lang.Object

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

    • OrthogonalPolynomialSuite

      public OrthogonalPolynomialSuite()
      Empty OrthogonalPolynomialSuite Constructor
  • Method Details

    • orthogonalPolynomialMap

      public java.util.TreeMap<java.lang.Integer,​OrthogonalPolynomial> orthogonalPolynomialMap()
      Retrieve the Orthogonal Polynomial Map
      Returns:
      The Orthogonal Polynomial Map
    • addOrthogonalPolynomial

      public boolean addOrthogonalPolynomial​(OrthogonalPolynomial orthogonalPolynomial)
      Add the Specified Orthogonal Polynomial
      Parameters:
      orthogonalPolynomial - The Orthogonal Polynomial
      Returns:
      TRUE - The Specified Orthogonal Polynomial successfully added
    • size

      public int size()
      Retrieve the Size of the Orthogonal Polynomial Suite
      Returns:
      The Size of the Orthogonal Polynomial Suite
    • orthogonalPolynomial

      public OrthogonalPolynomial orthogonalPolynomial​(int degree)
      Retrieve the Orthogonal Polynomial corresponding to the Specified Degree
      Parameters:
      degree - The Polynomial Degree
      Returns:
      The Orthogonal Polynomial corresponding to the Specified Degree