You are here: Symbol Reference > MtxExpr Namespace > Classes > Matrix Record > public > Max Method > Matrix.Max Method ()
MtxVec VCL
ContentsIndex
PreviousUpNext
Matrix.Max Method ()

Maximum value.

Pascal
function Max: double; overload;

Returns the maximum value of all calling object elements. The result is a real value. An exception is raised is calling object Complex is true.

var a: Matrix; b: double; begin a.SetIt(2,2,False,[1,2,3,4]); b := a.Max; // b = 4 end;
Examples on GitHub
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!