integrate
method assuming that the integral is symmetric about 0.
This allows to reduce numerical errors.
| Access | Constructor and Description |
|---|---|
| public | SymmetricGaussIntegrator(double[]
Integration points. points, double[] Weights of the corresponding integration nodes. weights)Creates an integrator from the given |
| public | SymmetricGaussIntegrator(Pair<double[], double[]>
Integration points and corresponding weights. pointsAndWeights)Creates an integrator from the given pair of points (first element of the pair) and weights (second element of the pair. |
| Modifier and Type | Method and Description |
|---|---|
| public double | integrate(UnivariateFunction
Function to integrate. f)Overrides org. Returns an estimate of the integral of |
| SymmetricGaussIntegrator | back to summary |
|---|---|
| public SymmetricGaussIntegrator(double[] points, double[] weights) throws NonMonotonicSequenceException, DimensionMismatchException Creates an integrator from the given
| |
| SymmetricGaussIntegrator | back to summary |
|---|---|
| public SymmetricGaussIntegrator(Pair<double[], double[]> pointsAndWeights) throws NonMonotonicSequenceException Creates an integrator from the given pair of points (first element of the pair) and weights (second element of the pair.
| |
| integrate | back to summary |
|---|---|
| public double integrate(UnivariateFunction f) Overrides org. Doc from org. Returns an estimate of the integral of
| |