Overload List
Overload 1: TOpenCLBase *Add(TOpenCLBase *Vec, const double Value, int VecIndex, int Index, int Len);
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLBase * | |
| 2 | Value | const double | |
| 3 | VecIndex | int | |
| 4 | Index | int | |
| 5 | Len | int |
Overload 2: TOpenCLBase *Add(TOpenCLBase *Vec, const TCplx &Value, int VecIndex, int Index, int Len);
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLBase * | |
| 2 | Value | const TCplx & | |
| 3 | VecIndex | int | |
| 4 | Index | int | |
| 5 | Len | int |
Overload 3: TOpenCLBase *Add(TOpenCLBase *Vec1, TOpenCLBase *Vec2, int Vec1Index, int Vec2Index, int Index, int Len);
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec1 | TOpenCLBase * | |
| 2 | Vec2 | TOpenCLBase * | |
| 3 | Vec1Index | int | |
| 4 | Vec2Index | int | |
| 5 | Index | int | |
| 6 | Len | int |
Overload 4: TOpenCLMtxVec *Add(TOpenCLMtxVec *Src1, TOpenCLMtxVec *Src2);
Add each of Vec2 elements to corresponding elements in Vec1.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src1 | TOpenCLMtxVec * | |
| 2 | Src2 | TOpenCLMtxVec * |
The results are stored in the calling object. Size and TOpenCLBase::Complex properties of the calling object are set implicitly to match Vec1 and Vec2 vectors.
Overload 5: TOpenCLMtxVec *Add(TOpenCLMtxVec *Vec1, TOpenCLMtxVec *Vec2, int Vec1Index, int Vec2Index, int Index, int Len);
Add Vec1 elements [Vec1Index]..[Vec1Index+Len-1] to Vec2 elements [Vec2Index]..[Vec2Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec1 | TOpenCLMtxVec * | |
| 2 | Vec2 | TOpenCLMtxVec * | |
| 3 | Vec1Index | int | |
| 4 | Vec2Index | int | |
| 5 | Index | int | |
| 6 | Len | int |
Store the results in calling object elements [Index]..[Index+Len-1]. An exception is raised array borders are overrun.
Overload 6: TOpenCLMtxVec *Add(const double Value);
Adds Value to object elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | const double |
Overload 7: TOpenCLMtxVec *Add(const TCplx &Value);
Adds complex Value to all calling object complex elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | const TCplx & |
Overload 8: TOpenCLMtxVec *Add(const double Value, int Index, int Len);
Adds Value to calling object elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | const double | |
| 2 | Index | int | |
| 3 | Len | int |
An exception is raised if array borders are overrun.
Overload 9: TOpenCLMtxVec *Add(const TCplx &Value, int Index, int Len);
Adds complex Value to calling object complex elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | const TCplx & | |
| 2 | Index | int | |
| 3 | Len | int |
An exception is raised if array borders are overrun.
Overload 10: TOpenCLMtxVec *Add(TOpenCLMtxVec *Vec, const double Value);
Adds Value to the each element of the Vec object.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec * | |
| 2 | Value | const double |
Stores the result in the calling object. Size and TOpenCLBase::Complex properties of the calling object are set automatically.
Overload 11: TOpenCLMtxVec *Add(TOpenCLMtxVec *Vec, const TCplx &Value);
Adds complex Value to each element of the Vec object.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec * | |
| 2 | Value | const TCplx & |
Store the result to the calling object. Size property of the calling object is set automatically. TOpenCLBase::Complex property of the calling object is set to True.
Overload 12: TOpenCLMtxVec *Add(TOpenCLMtxVec *Vec, const double Value, int VecIndex, int Index, int Len);
Adds Value to each element of Vec object in range [VecIndex]..[VecIndex+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec * | |
| 2 | Value | const double | |
| 3 | VecIndex | int | |
| 4 | Index | int | |
| 5 | Len | int |
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. TOpenCLBase::Complex property of the calling object is set implicitly.
Overload 13: TOpenCLMtxVec *Add(TOpenCLMtxVec *Vec, const TCplx &Value, int VecIndex, int Index, int Len);
Adds complex Value to each elements of the Vec object in range [VecIndex]..[VecIndex+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec * | |
| 2 | Value | const TCplx & | |
| 3 | VecIndex | int | |
| 4 | Index | int | |
| 5 | Len | int |
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::Complex property of the calling object is set to True.
Overload 14: TOpenCLMtxVec *Add(TOpenCLMtxVec *Vec);
Array addition.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec * |
Add each of Vec elements to corresponding elements in the calling object.
Overload 15: TOpenCLMtxVec *Add(TOpenCLMtxVec *Vec, int VecIndex, int Index, int Len);
Add Vec elements [VecIndex]..[VecIndex+Len-1] to calling object elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec * | |
| 2 | VecIndex | int | |
| 3 | Index | int | |
| 4 | Len | int |
An exception is raised array borders are overrun.