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

Calculates the maximum and minimum value of calling object elements [Index]..[Index+Len-1].

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

Maximum value is stored in AMax parameter, minimum value is stored in AMin parameter. An exception is raised if calling object Complex property is true or array borders are overrud/underrun.

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