You are here: Symbol Reference > clMtxExpr Namespace > Classes > clMatrix Record > public > Add Method > clMatrix.Add Method (TOpenCLMtxVec, TOpenCLMtxVec)
MtxVec VCL
ContentsIndex
PreviousUpNext
clMatrix.Add Method (TOpenCLMtxVec, TOpenCLMtxVec)

Add each of Vec2 elements to corresponding elements in Vec1.

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

The results are stored in the calling object. Size and Complex properties of the calling object are set implicitly to match Vec1 and Vec2 vectors.

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