You are here: Symbol Reference > MtxExpr Namespace > Classes > Vector Record > public > MaxMin Method > Vector.MaxMin Method (double, double)
MtxVec VCL
ContentsIndex
PreviousUpNext
Vector.MaxMin Method (double, double)

Maximum and minimum value in a single pass.

Pascal
procedure MaxMin(out AMax: double; out AMin: double); overload;

Calculates the maximum and minimum value of all calling object elements in a single pass. Maximum value is stored in AMax parameter, minimum value is stored in AMin parameter. Use this method if you require minimum AND maximum value.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!