Click or drag to resize

CVViIndexMax Method

Get the index where the maximum value occurs.

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public int iIndexMax(
	ref double max
)

public int iIndexMax(
	ref double max
)

Parameters

max
Type: SystemDouble
Maximum value (<define>rDUMMY</define> if all dummies or no data)

Return Value

Type: Int32
Index of the maximum value, <define>iDUMMY</define> if no valid data.
Remarks
If more than one value has the same maximum value, the index of the first is returned.
See Also