xBaseOdeGearsAndAdamsMoultonSolve(Double, Double, Double, Double, OdeSolution) Method |
Computes the solution of the differntial equations.
Namespace: DotNumerics.ODE.DVodeAssembly: DWSIM.MathOps.DotNumerics (in DWSIM.MathOps.DotNumerics.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public void Solve(
double[] y0,
double t0,
double deltaT,
double tf,
OdeSolution solution
)
Public Sub Solve (
y0 As Double(),
t0 As Double,
deltaT As Double,
tf As Double,
solution As OdeSolution
)
Request Example
View SourceParameters
- y0 Double
- A vector of size N containing the initial conditions. N is the number of differential equations.
- t0 Double
- The initial independent variable value.
- deltaT Double
- The step for the interval of integration (t0, t0+deltaT, t0+2*deltaT,...,tf).
- tf Double
- The final independent variable value.
- solution OdeSolution
- A delegate where to return the solution.
See Also