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

Add each of Vec2 elements to corresponding elements in Vec1. The results are stored in the calling object.

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

Size and Complex properties of the calling object are set implicitly to match Vec1 and Vec2 matrices.

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