Class ABMPredictorCorrector4
- java.lang.Object
-
- dev.nm.analysis.differentialequation.ode.ivp.solver.multistep.adamsbashforthmoulton.ABMPredictorCorrector4
-
- All Implemented Interfaces:
ABMPredictorCorrector
public class ABMPredictorCorrector4 extends Object implements ABMPredictorCorrector
The Adams-Bashforth predictor and the Adams-Moulton corrector of order 4.
-
-
Constructor Summary
Constructors Constructor Description ABMPredictorCorrector4()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Vector
correct(DerivativeFunction dy, double h, double[] x, Vector[] y)
int
order()
Get the order of this predictor-corrector pair.Vector
predict(DerivativeFunction dy, double h, double[] x, Vector[] y)
-
-
-
Method Detail
-
order
public int order()
Description copied from interface:ABMPredictorCorrector
Get the order of this predictor-corrector pair.- Specified by:
order
in interfaceABMPredictorCorrector
- Returns:
- order
-
predict
public Vector predict(DerivativeFunction dy, double h, double[] x, Vector[] y)
- Specified by:
predict
in interfaceABMPredictorCorrector
-
correct
public Vector correct(DerivativeFunction dy, double h, double[] x, Vector[] y)
- Specified by:
correct
in interfaceABMPredictorCorrector
-
-