MathUtilStrictlyMonotonIndex(Double) Method

Checks if vector xTable is strictly monoton and increasing

Definition

Namespace: DHI.Mike1D.Generic
Assembly: DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public static int StrictlyMonotonIndex(
	double[] xTable
)

Parameters

xTable  Double
Vector that must be checked

Return Value

Int32
-1 if vector is monoton, index of first violating value if non-monoton

See Also