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

Calculates the maximum and minimum value of all calling object elements.

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

Maximum value is returned in AMax parameter, minimum value in AMin parameter. The MaxIdx parameter returns the index of maximum value. The MinIdx parameter returns the index of minimum value. An exception is raised if calling object Complex property is true.

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