AdamsBashforthFirstOrder Method |
First-order Adams-Bashforth method, equivalent to forward Euler.
Namespace: Altaxo.Calc.OdeSolversAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static double[] FirstOrder(
double y0,
double start,
double end,
int N,
Func<double, double, double> f
)
Parameters
- y0 Double
- The initial value.
- start Double
- The start time.
- end Double
- The end time.
- N Int32
- The size of the output array. The larger the value, the finer the discretization.
- f FuncDouble, Double, Double
- The ODE model.
Return Value
DoubleAn approximation array of length
N.
See Also