Click or drag to resize

OdeAdamsMoultonInitializeODEs(OdeFunction, Int32, Double, Double) Method

Method that initialize the ODE to solve.

Namespace: DotNumerics.ODE
Assembly: DWSIM.MathOps.DotNumerics (in DWSIM.MathOps.DotNumerics.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public override void InitializeODEs(
	OdeFunction function,
	int numEquations,
	double t0,
	double[] y0
)
Request Example View Source

Parameters

function  OdeFunction
A function that evaluates the right side of the differential equations.
numEquations  Int32
The number of differential equations.
t0  Double
The initial value for the independent variable.
y0  Double
A vector of size N containing the initial conditions. N is the number of differential equations.
See Also