FindMinMax Data Member Function

Populates an array with the minimum and maximum values in the source array. Does not alter the source array. Returns 1 to indicate success; returns 0 to indicate failure.

Prototype

int32 FindMinMax( Int64Iterator first, Int64Iterator last, Int64Iterator dest )

Parameters

Parameter Type Parameter Name Documentation
<Int64Iterator>firstAn iterator at the start of the source data.
<Int64Iterator>lastAn iterator at the end of the source data.
<Int64Iterator>destAn iterator for a destination with enough storage for 2 values.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.