Click or drag to resize

MathUtilStrictlyMonotonIndex Method

Checks if vector xTable is strictly monoton and increasing

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

Parameters

xTable
Type: SystemDouble
Vector that must be checked

Return Value

Type: Int32
-1 if vector is monoton, index of first violating value if non-monoton
See Also