Returns the index of the smallest element in an array.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
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).
Reference