You are here: Symbol Reference > MtxExpr Namespace > Classes > Vector Record > public > Sub Method > Vector.Sub Method (TMtxVec, TMtxVec)
MtxVec VCL
ContentsIndex
PreviousUpNext
Vector.Sub Method (TMtxVec, TMtxVec)

Subtract Vec2 elements from Vec1 elements and store the results in calling object.

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

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

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