ArrayMath.MinIndex Method

Returns the index of the smallest element in an array.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
public static int MinIndex(
	this double[] array
)

Parameters

array  Double[]
A Double array.

Return Value

Int32
The 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 Double[]. 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).

See Also