Click or drag to resize

MathUtil.GetInterval<T> Method (Double,T[], Func<T, Double>, Double)

Namespace:  DHI.Mike1D.Generic
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 18.0.0.0 (11.1.1.1111)
Syntax
C#
public static int GetInterval<T>(
	double arg,
	T[] vector,
	Func<T, double> valueSelector,
	out double fraction
)

Parameters

arg
Type: System.Double
vector
Type:T[]
valueSelector
Type: System.Func<T, Double>
fraction
Type: System.Double

Type Parameters

T

Return Value

Type: Int32
See Also