![](../icons/Help.png) | CVViIndexMax Method |
Get the index where the maximum value occurs.
Available since Oasis montaj version: 6.2
License: Available to anyone with an Oasis Montaj license.
Namespace: GeoEngine.Core.GXNetXAssembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Notes
If more than one value has the same maximum value, the index of the
first is returned.
Syntaxpublic int iIndexMax(
ref double max
)
Public Function iIndexMax (
ByRef max As Double
) As Integer
public:
int iIndexMax(
double% max
)
member iIndexMax :
max : float byref -> int
Parameters
- max
- Type: SystemDouble
Maximum value (<define>rDUMMY</define> if all dummies or no data)
Return Value
Type:
Int32Index of the maximum value, <define>iDUMMY</define> if no valid data.
See Also