All Packages Class Hierarchy This Package Previous Next Index
Class CH.epfl.lcvm.mccc.IVPSolverBase
java.lang.Object
|
+----CH.epfl.lcvm.mccc.IVPSolverBase
- public abstract class IVPSolverBase
- extends Object
- implements IVPSolver
A abstract base class which defines an IVP solver
-
stepSize_
-
-
IVPSolverBase()
-
-
goToTarget(Matrix, Matrix, double)
- Take steps until the target s value has been reached
-
setStepSize(double)
- Sets the initial step size for the solver
-
step(Matrix, Matrix)
- Take one step of the default step size
stepSize_
protected double stepSize_
IVPSolverBase
public IVPSolverBase()
step
public abstract Matrix step(Matrix value,
Matrix parameters) throws MCCCException
- Take one step of the default step size
- Parameters:
- value - Initial value to the solver
- parameters - Values of the parameters
- Returns:
- the value of the equations after the step
- Throws: MCCCException
- In case the method doesn't
converge it throws this exception
goToTarget
public abstract Matrix goToTarget(Matrix value,
Matrix parameters,
double target) throws MCCCException
- Take steps until the target s value has been reached
- Parameters:
- value - Initial value to the solver
- parameters - Values of the parameters
- target - The target s value
- Throws: MCCCException
- In case the method doesn't
converge it throws this exception
setStepSize
public void setStepSize(double stepSize)
- Sets the initial step size for the solver
- Parameters:
- stepSize - The initial stepsize
All Packages Class Hierarchy This Package Previous Next Index