|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.numericalmethod.suanshu.analysis.integration.univariate.riemann.EulerMaclaurin
com.numericalmethod.suanshu.analysis.integration.univariate.riemann.Midpoint
public class Midpoint
The Midpoint rule is an OPEN type Newton–Cotes formula.
This implementation extends EulerMaclaurin by specifying N = 3.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.numericalmethod.suanshu.analysis.integration.univariate.riemann.EulerMaclaurin |
|---|
EulerMaclaurin.NewtonCotesType |
| Field Summary |
|---|
| Fields inherited from class com.numericalmethod.suanshu.analysis.integration.univariate.riemann.EulerMaclaurin |
|---|
maxIterations, precision, rate, type |
| Constructor Summary | |
|---|---|
Midpoint(double precision,
int maxIterations)
Construct an integrator that implements the Midpoint rule. |
|
| Method Summary |
|---|
| Methods inherited from class com.numericalmethod.suanshu.analysis.integration.univariate.riemann.EulerMaclaurin |
|---|
h, integrate, maxIterations, next, precision |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Midpoint(double precision,
int maxIterations)
precision - the convergence thresholdmaxIterations - the maximum number of iterations
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||