SparseVector<T>.MaxIndex Method

Returns the index of the largest component in this sparse vector.

Definition

Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public override int MaxIndex()

Return Value

Int32
The index of the largest component in this SparseVector<T>.

Remarks

If more than one component has the largest value, the index of the first occurrence is returned.

See Also