MathUtilGetInterval(Double, IListDouble, Double, Int32) Method

GetInterval(Double, Double, Double, Int32) for details. This has an IListT as argument instead of a double[]. This version is slower than the double[] version.

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 GetInterval(
	double arg,
	IList<double> vector,
	out double fraction,
	int lastInterval
)

Parameters

arg  Double

[Missing <param name="arg"/> documentation for "M:DHI.Mike1D.Generic.MathUtil.GetInterval(System.Double,System.Collections.Generic.IList{System.Double},System.Double@,System.Int32)"]

vector  IListDouble

[Missing <param name="vector"/> documentation for "M:DHI.Mike1D.Generic.MathUtil.GetInterval(System.Double,System.Collections.Generic.IList{System.Double},System.Double@,System.Int32)"]

fraction  Double

[Missing <param name="fraction"/> documentation for "M:DHI.Mike1D.Generic.MathUtil.GetInterval(System.Double,System.Collections.Generic.IList{System.Double},System.Double@,System.Int32)"]

lastInterval  Int32

[Missing <param name="lastInterval"/> documentation for "M:DHI.Mike1D.Generic.MathUtil.GetInterval(System.Double,System.Collections.Generic.IList{System.Double},System.Double@,System.Int32)"]

Return Value

Int32

[Missing <returns> documentation for "M:DHI.Mike1D.Generic.MathUtil.GetInterval(System.Double,System.Collections.Generic.IList{System.Double},System.Double@,System.Int32)"]

See Also