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

Compare Vec1 elements [Vec1Index]..[Vec1Index+Len-1] with Vec2 object elements [Vec2Index]..[Vec2Index+Len-1] and store bigger value in Self.

Pascal
function MaxEvery(const Vec1: TMtxVec; const Vec2: TMtxVec; Vec1Index: integer; Vec2Index: integer; Index: integer; Len: integer): TMtxVec; overload;

Stores the results in to the calling object elements [Index]..[Index+Len-1]. Size and TMtxVec.Complex properties of the calling object must be set explicitly. An exception is raised if TMtxVecBase.ConditionCheckConditionCheckis True and array borders are overrun or underrun.

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