Package org.drip.numerical.quadrature
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 PolynomialOrthogonalPolynomial
orthogonalPolynomial(int degree)
Retrieve the Orthogonal Polynomial corresponding to the Specified Degreejava.util.TreeMap<java.lang.Integer,OrthogonalPolynomial>
orthogonalPolynomialMap()
Retrieve the Orthogonal Polynomial Mapint
size()
Retrieve the Size of the Orthogonal Polynomial SuiteMethods 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
Retrieve the Orthogonal Polynomial Map- Returns:
- The Orthogonal Polynomial Map
-
addOrthogonalPolynomial
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
Retrieve the Orthogonal Polynomial corresponding to the Specified Degree- Parameters:
degree
- The Polynomial Degree- Returns:
- The Orthogonal Polynomial corresponding to the Specified Degree
-