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

Subtract Vec2 elements from Vec1 elements.

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

Stores the results in calling object. Size and TMtxVec.Complex property of calling object are adjusted automatically. An exception is raised if Vec1 and Vec2 size and TMtxVec.Complex property do not match.

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