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.
int32 FindMinMax( Int16Iterator first, Int16Iterator last, Int16Iterator dest )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<Int16Iterator> | first | An iterator at the start of the source data. |
<Int16Iterator> | last | An iterator at the end of the source data. |
<Int16Iterator> | dest | An iterator for a destination with enough storage for 2 values. |
None published. Please look for an example in the Scenome Scripting Language code base.