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

Compare all Vec1 elements with corresponding Vec2 elements and store bigger value in Self.

Pascal
function MaxEvery(const Vec1: TMtxVec; const Vec2: TMtxVec): TMtxVec; overload;

Stores the results in to the calling object. Size and TMtxVec.Complex property of calling object are adjusted automatically to match those of Vec1 and Vec2. An exception is raised if Vec1 and Vec2 size and TMtxVec.Complex property do not match. Supports real value data only.

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