All Packages Class Hierarchy This Package Previous Next Index
Class CH.epfl.lcvm.mccc.IVPEuler
java.lang.Object
|
+----CH.epfl.lcvm.mccc.IVPSolverBase
|
+----CH.epfl.lcvm.mccc.IVPEuler
- public class IVPEuler
- extends IVPSolverBase
A class which defines the euler IVP solver
-
IVPEuler(ODEFunction)
- Construct a IVPEuler class from the given ODEFunction
-
goToTarget(Matrix, Matrix, double)
- Take steps until the target s value has been reached
-
main(String[])
-
Exercise the class by trying the various functions
-
step(Matrix, Matrix)
- Take one step of the default step size
IVPEuler
public IVPEuler(ODEFunction func)
- Construct a IVPEuler class from the given ODEFunction
- Parameters:
- func_ - The ode function to solve
step
public Matrix step(Matrix value,
Matrix parameters) throws MCCCException
- Take one step of the default step size
- Parameters:
- value - Initial value to the sovler
- parameters - The 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
- Overrides:
- step in class IVPSolverBase
goToTarget
public 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
- value - The target s value
- Throws: MCCCException
- In case the method doesn't
converge it throws this exception
- Overrides:
- goToTarget in class IVPSolverBase
main
public static void main(String argv[]) throws MCCCException
- Exercise the class by trying the various functions
- Throws: MCCCException
- In case something fails in the
test harness it throws this exception.
All Packages Class Hierarchy This Package Previous Next Index