RungeKuttaExplicitBaseGetSolutionPointsVolatileForStepSize(Double, Double, ActionDouble, Double, Double, Double) Method |
Initializes the method and gets volatile solution points for constant step size.
Namespace: Altaxo.Calc.OdeAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public virtual IEnumerable<(double X, double[] )> GetSolutionPointsVolatileForStepSize(
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. You have to consume the values immediately because the content of the y array is changed in the further course of the evaluation.
See Also