You are here: Symbol Reference > clMtxVec Namespace > Classes > TOpenCLMtxVec Class > public > Add Method > TOpenCLMtxVec.Add Method (TOpenCLMtxVec, TCplx, integer, integer, integer)
MtxVec VCL
ContentsIndex
PreviousUpNext
TOpenCLMtxVec.Add Method (TOpenCLMtxVec, TCplx, integer, integer, integer)

Adds complex Value to each elements of the Vec object in range [VecIndex]..[VecIndex+Len-1].

Pascal
function Add(const Vec: TOpenCLMtxVec; const Value: TCplx; VecIndex: integer; Index: integer; Len: integer): TOpenCLMtxVec; overload;

Stores the result to elements [Index]..[Index+Len-1] of the calling object. Size of the calling object is not changed. An exception is raised if array borders are overrun. TOpenCLBase.ComplexComplexproperty of the calling object is set to True.

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