Dense Vector<T>.Max Index Method
Returns the index of the largest element in this
vector.
Definition
Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
The index of the largest element in this Vector<T>.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public override int MaxIndex()
Return Value
Int32The index of the largest element in this Vector<T>.
Remarks
If more than one element has the largest value, the index of the first occurrance is returned. If the length of the vector is zero, or if all elements are NaN, then -1 is returned.