public class RombergRealIntegration extends AbstractRealIntegral
Constructor and Description |
---|
RombergRealIntegration(double lowerBound,
double upperBound,
int numberOfEvaluationPoints)
Create a Romberg integrator.
|
Modifier and Type | Method and Description |
---|---|
double |
integrate(java.util.function.DoubleUnaryOperator integrand) |
getLowerBound, getUpperBound
public RombergRealIntegration(double lowerBound, double upperBound, int numberOfEvaluationPoints)
lowerBound
- Lower bound of the integral.upperBound
- Upper bound of the integral.numberOfEvaluationPoints
- Maximum number of evaluation points to be used.public double integrate(java.util.function.DoubleUnaryOperator integrand)
integrate
in interface RealIntegralInterface
integrate
in class AbstractRealIntegral
Copyright © 2017. All rights reserved.