Click or drag to resize

CurveBaseIsStrictlyMonotonicallyIncreasing Method

Determines whether the elements of a are strictly monotonically increasing.

Namespace: Altaxo.Calc.Interpolation
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
protected static bool IsStrictlyMonotonicallyIncreasing(
	IReadOnlyList<double> a
)

Parameters

a  IReadOnlyListDouble
The sequence to test. Must not be empty.

Return Value

Boolean
true when each element is greater than its predecessor; otherwise false.
Exceptions
ExceptionCondition
ArgumentExceptionThrown when a is empty.
See Also