Returns the index of the smallest element in an array.
Namespace: Extreme.MathematicsAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
public static int MinIndex(
this double[] array
)
<ExtensionAttribute>
Public Shared Function MinIndex (
array As Double()
) As Integer
public:
[ExtensionAttribute]
static int MinIndex(
array<double>^ array
)
[<ExtensionAttribute>]
static member MinIndex :
array : float[] -> int
Parameters
- array
- Type: SystemDouble
A Double array.
Return Value
Type:
Int32The value of the smallest element in
array.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Numerical Libraries
Supported in: 6.0, 5.x, 4.x
Reference