OdeContext Type

Context to solve ordinary differential equations

Constructors

Constructor Description

OdeContext(odeSolver)

Full Usage: OdeContext(odeSolver)

Parameters:
    odeSolver : obj

Returns: OdeContext
odeSolver : obj
Returns: OdeContext

OdeContext(?odeSolverMethod, ?odeSolverOptions)

Full Usage: OdeContext(?odeSolverMethod, ?odeSolverOptions)

Parameters:
Returns: OdeContext
?odeSolverMethod : OdeSolverMethod
?odeSolverOptions : OdeSolverOptions
Returns: OdeContext

Instance members

Instance member Description

this.OdeInt

Full Usage: this.OdeInt

Parameters:
    x0 : float
    y0 : float[]
    model : float[] -> float -> float[]

Returns: seq<SolPoint>

Simulates the model and gets a sequence of solution points

x0 : float
y0 : float[]
model : float[] -> float -> float[]
Returns: seq<SolPoint>

this.OdeInt

Full Usage: this.OdeInt

Parameters:
    x0 : float
    y0 : float
    simpleModel : float -> float -> float

Returns: seq<SolPoint>

Simulates the model and gets a sequence of solution points

x0 : float
y0 : float
simpleModel : float -> float -> float
Returns: seq<SolPoint>

this.RelativeErrorTolerance

Full Usage: this.RelativeErrorTolerance

Parameters:
    error : float

Sets the relative tolerance for all y-values

error : float

this.SetInitialStepSize

Full Usage: this.SetInitialStepSize

Parameters:
    stepSize : float

Sets the initial step size to use the automatic step size control

stepSize : float

this.SetStepSize

Full Usage: this.SetStepSize

Parameters:
    stepSize : float

Sets the step size (no automatic step size control)

stepSize : float