Click or drag to resize

RungeKuttaExplicitBaseGetSolutionPointsForStepSize(Double, Double, ActionDouble, Double, Double, Double) Method

Gets solution points for constant step size. Returns the same results as GetSolutionPointsVolatileForStepSize(Double, Double, ActionDouble, Double, Double, Double), but the returned solution point already contains a copy of the y array.

Namespace: Altaxo.Calc.Ode
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
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, Double
Endless sequence of solution points. It is safe to store the returned y array permanently.
See Also