public abstract class UnivariateRealIntegratorImpl extends ConvergingAlgorithmImpl implements UnivariateRealIntegrator
Modifier and Type | Method and Description |
---|---|
int |
getMinimalIterationCount()
Get the lower limit for the number of iterations.
|
double |
getResult()
Access the last computed integral.
|
void |
resetMinimalIterationCount()
Reset the lower limit for the number of iterations to the default.
|
void |
setMinimalIterationCount(int count)
Set the lower limit for the number of iterations.
|
getAbsoluteAccuracy, getIterationCount, getMaximalIterationCount, getRelativeAccuracy, resetAbsoluteAccuracy, resetMaximalIterationCount, resetRelativeAccuracy, setAbsoluteAccuracy, setMaximalIterationCount, setRelativeAccuracy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
integrate, integrate
getAbsoluteAccuracy, getIterationCount, getMaximalIterationCount, getRelativeAccuracy, resetAbsoluteAccuracy, resetMaximalIterationCount, resetRelativeAccuracy, setAbsoluteAccuracy, setMaximalIterationCount, setRelativeAccuracy
public double getResult() throws java.lang.IllegalStateException
getResult
in interface UnivariateRealIntegrator
java.lang.IllegalStateException
- if no integral has been computedpublic void setMinimalIterationCount(int count)
Minimal iteration is needed to avoid false early convergence, e.g. the sample points happen to be zeroes of the function. Users can use the default value or choose one that they see as appropriate.
A ConvergenceException
will be thrown if this number
is not met.
setMinimalIterationCount
in interface UnivariateRealIntegrator
count
- minimum number of iterationspublic int getMinimalIterationCount()
getMinimalIterationCount
in interface UnivariateRealIntegrator
public void resetMinimalIterationCount()
The default value is supplied by the implementation.
resetMinimalIterationCount
in interface UnivariateRealIntegrator
UnivariateRealIntegrator.setMinimalIterationCount(int)
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"