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