MathUtilStrictlyMonotonIndexT(T, ComparisonT) Method
Checks if vector xTable is strictly monoton and increasing
Namespace: DHI.Mike1D.GenericAssembly: DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 24.0.0.0 (11.1.1.1111)
public static int StrictlyMonotonIndex<T>(
T[] xTable,
Comparison<T> comparer
)
- xTable T
- Vector that must be checked
- comparer ComparisonT
- Comparer used for testing monotonicity
- T
[Missing <typeparam name="T"/> documentation for "M:DHI.Mike1D.Generic.MathUtil.StrictlyMonotonIndex``1(``0[],System.Comparison{``0})"]
Int32-1 if vector is monoton, index of first violating value if non-monoton