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

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

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

Stores 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. Complex property of the calling object is set implicitly.

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