You are here: Symbol Reference > AbstractMtxVec Namespace > Classes > TDenseMtxVec Class > public > Min Method > TDenseMtxVec.Min Method ()
MtxVec VCL
ContentsIndex
PreviousUpNext
TDenseMtxVec.Min Method ()

Minimum value.

Pascal
function Min: double; overload;

The minimum value of all calling object elements. The result is a real value.

An exception is raised if calling object TMtxVec.Complex property is true.

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