Click or drag to resize

RungeKuttaExplicitBaseTryGetNextValue Method

Try to get the smaller value of the two enumerations. After that, the enumeration with the smaller value is advanced by one step.

Namespace: Altaxo.Calc.Ode
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
protected bool TryGetNextValue(
	ref IEnumerator<double>?? it1,
	ref IEnumerator<double>?? it2,
	out double? value
)

Parameters

it1  IEnumeratorDouble
The first enumeration.
it2  IEnumeratorDouble
The second enumeration.
value  Double
If successfull, the smaller value of the two enumerations; otherwise NaN.

Return Value

Boolean
True if a value could be retrieved at least of one of the enumerations; otherwise, false.
See Also