|
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.Trapezoidal
public class Trapezoidal
The Trapezoidal rule is a closed type Newton–Cotes formula,
where the integral interval is evenly divided into N sub-intervals.
Each sub-interval is divided into two in each iteration.
| 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 | |
|---|---|
Trapezoidal(double precision,
int maxIterations)
Construct an integrator that uses the Trapezoidal 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 Trapezoidal(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 | |||||||