Click or drag to resize

OdeFunction Delegate

Delegate defining the Ordinary Differential Equations (ODEs) dy(i)/dt = f(i) = f(i,t,y(1),y(2),...,y(N)).

Namespace: DotNumerics.ODE
Assembly: DWSIM.MathOps.DotNumerics (in DWSIM.MathOps.DotNumerics.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public delegate double[] OdeFunction(
	double t,
	double[] y
)
Request Example

Parameters

t  Double
The independent variable.
y  Double
Array of size N containing the dependent variable values(y(1),y(2),...,y(N)).

Return Value

Double
A vector of size N, f(i) = dy(i)/dt that define the ordinary differential equations system, where N is the number of differential equations.
See Also