public class GaussIntegratorFactory extends Object
Gaussian integration rule.| Constructor | Description |
|---|---|
GaussIntegratorFactory() |
| Modifier and Type | Method | Description |
|---|---|---|
SymmetricGaussIntegrator |
hermite(int numberOfPoints) |
Creates a Gauss-Hermite integrator of the given order.
|
GaussIntegrator |
laguerre(int numberOfPoints) |
Creates a Gauss-Laguerre integrator of the given order.
|
GaussIntegrator |
legendre(int numberOfPoints) |
Creates a Gauss-Legendre integrator of the given order.
|
GaussIntegrator |
legendre(int numberOfPoints,
double lowerBound,
double upperBound) |
Creates a Gauss-Legendre integrator of the given order.
|
GaussIntegrator |
legendreHighPrecision(int numberOfPoints) |
Creates a Gauss-Legendre integrator of the given order.
|
GaussIntegrator |
legendreHighPrecision(int numberOfPoints,
double lowerBound,
double upperBound) |
Creates an integrator of the given order, and whose call to the
integrate method will perform an integration on the given interval. |
public GaussIntegrator laguerre(int numberOfPoints)
integrate method will perform an integration on the interval
\([0, +\infty)\): the computed value is the improper integral of
\(e^{-x} f(x)\)
where \(f(x)\) is the function passed to the
integrate method.numberOfPoints - Order of the integration rule.public GaussIntegrator legendre(int numberOfPoints)
integrate method will perform an integration on the natural interval
[-1 , 1].numberOfPoints - Order of the integration rule.public GaussIntegrator legendre(int numberOfPoints, double lowerBound, double upperBound) throws MathIllegalArgumentException
integrate method will perform an integration on the given interval.numberOfPoints - Order of the integration rule.lowerBound - Lower bound of the integration interval.upperBound - Upper bound of the integration interval.MathIllegalArgumentException - if number of points is not positivepublic GaussIntegrator legendreHighPrecision(int numberOfPoints) throws MathIllegalArgumentException
integrate method will perform an integration on the natural interval
[-1 , 1].numberOfPoints - Order of the integration rule.MathIllegalArgumentException - if number of points is not positivepublic GaussIntegrator legendreHighPrecision(int numberOfPoints, double lowerBound, double upperBound) throws MathIllegalArgumentException
integrate method will perform an integration on the given interval.numberOfPoints - Order of the integration rule.lowerBound - Lower bound of the integration interval.upperBound - Upper bound of the integration interval.MathIllegalArgumentException - if number of points is not positivepublic SymmetricGaussIntegrator hermite(int numberOfPoints)
integrate method will perform a weighted integration on the interval
\([-\infty, +\infty]\): the computed value is the improper integral of
\(e^{-x^2}f(x)\)
where \(f(x)\) is the function passed to the
integrate method.numberOfPoints - Order of the integration rule.Copyright © 2016–2018 Hipparchus.org. All rights reserved.