Click or drag to resize
Accord.NET (logo)

Vector4MaxIndex Property

Returns index of the coordinate with maximum value.

Namespace:  Accord.Math
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public int MaxIndex { get; }
Request Example View Source

Property Value

Type: Int32
Remarks

Returns index of the coordinate, which has the maximum value - 0 for X, 1 for Y, 2 for Z or 3 for W.

Note Note
If there are multiple coordinates which have the same maximum value, the property returns smallest index.

See Also