Delegate defining the Ordinary Differential Equations (ODEs) dy(i)/dt = f(i) = f(i,t,y(1),y(2),...,y(N)).
Namespace: DotNumerics.ODEAssembly: 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
)
Public Delegate Function OdeFunction (
t As Double,
y As Double()
) As Double()
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
DoubleA 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