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


Variable Index

 o stepSize_

Constructor Index

 o IVPSolverBase()

Method Index

 o goToTarget(Matrix, Matrix, double)
Take steps until the target s value has been reached
 o setStepSize(double)
Sets the initial step size for the solver
 o step(Matrix, Matrix)
Take one step of the default step size

Variables

 o stepSize_
 protected double stepSize_

Constructors

 o IVPSolverBase
 public IVPSolverBase()

Methods

 o 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
 o 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
 o 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