MathUtilStrictlyMonotonIndexT Method (T, ComparisonT) | 
 
            Checks if vector xTable is strictly monoton and increasing
            
 
    Namespace: 
   DHI.Mike1D.Generic
    Assembly:
   DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntaxpublic static int StrictlyMonotonIndex<T>(
	T[] xTable,
	Comparison<T> comparer
)
Public Shared Function StrictlyMonotonIndex(Of T) ( 
	xTable As T(),
	comparer As Comparison(Of T)
) As Integer
public:
generic<typename T>
static int StrictlyMonotonIndex(
	array<T>^ xTable, 
	Comparison<T>^ comparer
)
Parameters
- xTable
 - Type: T
Vector that must be checked - comparer
 - Type: SystemComparisonT
Comparer used for testing monotonicity 
Type Parameters
- T
 [Missing <typeparam name="T"/> documentation for "M:DHI.Mike1D.Generic.MathUtil.StrictlyMonotonIndex``1(``0[],System.Comparison{``0})"]
Return Value
Type: 
Int32-1 if vector is monoton, index of first violating value if non-monoton
See Also