MathUtilGetInterval(DateTime, IReadOnlyListDateTime, Double, Int32) Method

GetInterval(Double, Double, Double, Int32) for DateTimes. This has an IReadOnlyListT DateTime as argument instead of a DateTime[]. which is slower than a DateTime[] 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(
	DateTime arg,
	IReadOnlyList<DateTime> vector,
	out double fraction,
	int lastInterval
)

Parameters

arg  DateTime

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

vector  IReadOnlyListDateTime

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

fraction  Double

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

lastInterval  Int32

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

Return Value

Int32

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

See Also