OdeGearsBDFInitializeODEs(OdeFunction, OdeJacobian, Int32, Double, Double) Method |
Method that initialize the ODE to solve.
Namespace: DotNumerics.ODEAssembly: DWSIM.MathOps.DotNumerics (in DWSIM.MathOps.DotNumerics.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public void InitializeODEs(
OdeFunction function,
OdeJacobian jacobian,
int numEquations,
double t0,
double[] y0
)
Public Sub InitializeODEs (
function As OdeFunction,
jacobian As OdeJacobian,
numEquations As Integer,
t0 As Double,
y0 As Double()
)
Request Example
View SourceParameters
- function OdeFunction
- A function that evaluates the right side of the differential equations.
- jacobian OdeJacobian
- A function that evaluates the jacobian matrix.
- 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