RungeKuttaExplicitBaseGetSolutionPointsForStepSize(Double, Double, ActionDouble, Double, Double, Double) Method |
Namespace: Altaxo.Calc.OdeAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public virtual IEnumerable<(double x, double[] )> GetSolutionPointsForStepSize(
double x0,
double[] y0,
Action<double, double[], double[]> f,
double stepSize
)
Parameters
- x0 Double
- The initial x value.
- y0 Double
- The initial y values.
- f ActionDouble, Double, Double
- Calculation of the derivatives. First arg is the x variable. 2nd arg are the current y variables. The 3rd argument provides an array, in which the resulting derivatives dyi/dx should be stored.
- stepSize Double
- Size of a step.
Return Value
IEnumerableValueTupleDouble,
DoubleEndless sequence of solution points. It is safe to store the returned y array permanently.
See Also