Distributed Vector<T>.Absolute Max Index Method
Returns the index of the element in this
vector that has the largest absolute
value.
Definition
Namespace: Numerics.NET.Distributed
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
The index of the element in this Vector<T> that has the largest absolute value.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
public override int AbsoluteMaxIndex()
Return Value
Int32The index of the element in this Vector<T> that has the largest absolute value.
Remarks
If more than one element has the largest 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.