Package jdistlib.inference.solver
Class OdeSolver
java.lang.Object
jdistlib.inference.solver.OdeSolver
Adaptive Dormand-Prince 5(4) ODE integration at requested output times.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic double[][]integrate(OdeSystem system, double[] initial, double initialTime, double[] times, double[] parameters, double[] data, OdeSolver.Options options) Integrates frominitialTime; output rowicorresponds totimes[i].static SensitivityResultintegrateWithSensitivities(OdeSystem system, double[] initial, double initialTime, double[] times, double[] parameters, double[] data, OdeSolver.Options options) Integrates the state and forward parameter-sensitivity equations.
-
Method Details
-
integrate
public static double[][] integrate(OdeSystem system, double[] initial, double initialTime, double[] times, double[] parameters, double[] data, OdeSolver.Options options) Integrates frominitialTime; output rowicorresponds totimes[i]. -
integrateWithSensitivities
public static SensitivityResult integrateWithSensitivities(OdeSystem system, double[] initial, double initialTime, double[] times, double[] parameters, double[] data, OdeSolver.Options options) Integrates the state and forward parameter-sensitivity equations. Jacobians of the caller's system are estimated with scaled finite differences, while the augmented sensitivity system uses the same adaptive Dormand-Prince error control as the state.
-