Returns the index of the smallest element in this
vector.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public virtual int MinIndex()
Public Overridable Function MinIndex As Integer
public:
virtual int MinIndex()
abstract MinIndex : unit -> int
override MinIndex : unit -> int
Return Value
Type:
Int32The index of the smallest element in this
VectorT.
If more than one element has the smallest value,
the index of the first occurrence is returned. If the length
of the vector is zero, or if all elements are NaN,
then -1 is returned.
Reference