Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TOpenCLMtxVec Add(TCplx Value) | Adds complex Value to all calling object complex elements. |
| └ indexed: TOpenCLMtxVec Add(TCplx Value, Int32 Index, Int32 Len) | ||
| 2 | TOpenCLMtxVec Add(TOpenCLMtxVec Vec) | Array addition. |
| └ indexed: TOpenCLMtxVec Add(TOpenCLMtxVec Vec, Int32 VecIndex, Int32 Index, Int32 Len) | ||
| 3 | TOpenCLMtxVec Add(TOpenCLMtxVec Vec, TCplx Value) | Adds complex Value to each element of the Vec object. |
| └ indexed: TOpenCLMtxVec Add(TOpenCLMtxVec Vec, TCplx Value, Int32 VecIndex, Int32 Index, Int32 Len) | ||
| 4 | TOpenCLMtxVec Add(TOpenCLMtxVec Src1, TOpenCLMtxVec Src2) | Add each of Vec2 elements to corresponding elements in Vec1. |
| └ indexed: TOpenCLMtxVec Add(TOpenCLMtxVec Vec1, TOpenCLMtxVec Vec2, Int32 Vec1Index, Int32 Vec2Index, Int32 Index, Int32 Len) | ||
| 5 | TOpenCLMtxVec Add(TOpenCLMtxVec Vec, Double Value) | Adds Value to the each element of the Vec object. |
| └ indexed: TOpenCLMtxVec Add(TOpenCLMtxVec Vec, Double Value, Int32 VecIndex, Int32 Index, Int32 Len) | ||
| 6 | TOpenCLMtxVec Add(Double Value) | Adds Value to object elements. |
| └ indexed: TOpenCLMtxVec Add(Double Value, Int32 Index, Int32 Len) |
Overload 1: TOpenCLMtxVec Add(TCplx Value)
Adds complex Value to all calling object complex elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | TCplx | scalar |
Result: stored in self (calling object), returns self for chaining
Indexed: TOpenCLMtxVec Add(TCplx Value, Int32 Index, Int32 Len)
Adds complex Value to calling object complex elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | TCplx | scalar |
| 2 | Index | Int32 | start index |
| 3 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
An exception is raised if array borders are overrun.
Overload 2: TOpenCLMtxVec Add(TOpenCLMtxVec Vec)
Array addition.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec | source TOpenCLVector or TOpenCLMatrix |
Result: stored in self (calling object), returns self for chaining
Add each of Vec elements to corresponding elements in the calling object.
Indexed: TOpenCLMtxVec Add(TOpenCLMtxVec Vec, Int32 VecIndex, Int32 Index, Int32 Len)
Add Vec elements [VecIndex]..[VecIndex+Len-1] to calling object elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec | source TOpenCLVector or TOpenCLMatrix |
| 2 | VecIndex | Int32 | |
| 3 | Index | Int32 | start index |
| 4 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
An exception is raised array borders are overrun.
Overload 3: TOpenCLMtxVec Add(TOpenCLMtxVec Vec, TCplx Value)
Adds complex Value to each element of the Vec object.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec | source TOpenCLVector or TOpenCLMatrix |
| 2 | Value | TCplx | scalar |
Result: stored in self (calling object), returns self for chaining
Store the result to the calling object. Size property of the calling object is set automatically. Dew.Math.TOpenCLBase.Complex property of the calling object is set to True.
Indexed: TOpenCLMtxVec Add(TOpenCLMtxVec Vec, TCplx Value, Int32 VecIndex, Int32 Index, Int32 Len)
Adds complex Value to each elements of the Vec object in range [VecIndex]..[VecIndex+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec | source TOpenCLVector or TOpenCLMatrix |
| 2 | Value | TCplx | scalar |
| 3 | VecIndex | Int32 | |
| 4 | Index | Int32 | start index |
| 5 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
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. Dew.Math.TOpenCLBase.Complex property of the calling object is set to True.
Overload 4: TOpenCLMtxVec Add(TOpenCLMtxVec Src1, TOpenCLMtxVec Src2)
Add each of Vec2 elements to corresponding elements in Vec1.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src1 | TOpenCLMtxVec | source TOpenCLVector or TOpenCLMatrix |
| 2 | Src2 | TOpenCLMtxVec | source TOpenCLVector or TOpenCLMatrix |
Result: stored in self (calling object), returns self for chaining
The results are stored in the calling object. Size and Dew.Math.TOpenCLBase.Complex properties of the calling object are set implicitly to match Vec1 and Vec2 vectors.
Indexed: TOpenCLMtxVec Add(TOpenCLMtxVec Vec1, TOpenCLMtxVec Vec2, Int32 Vec1Index, Int32 Vec2Index, Int32 Index, Int32 Len)
Add Vec1 elements [Vec1Index]..[Vec1Index+Len-1] to Vec2 elements [Vec2Index]..[Vec2Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec1 | TOpenCLMtxVec | source TOpenCLVector or TOpenCLMatrix |
| 2 | Vec2 | TOpenCLMtxVec | source TOpenCLVector or TOpenCLMatrix |
| 3 | Vec1Index | Int32 | |
| 4 | Vec2Index | Int32 | |
| 5 | Index | Int32 | start index |
| 6 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
Store the results in calling object elements [Index]..[Index+Len-1]. An exception is raised array borders are overrun.
Overload 5: TOpenCLMtxVec Add(TOpenCLMtxVec Vec, Double Value)
Adds Value to the each element of the Vec object.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec | source TOpenCLVector or TOpenCLMatrix |
| 2 | Value | Double | scalar |
Result: stored in self (calling object), returns self for chaining
Stores the result in the calling object. Size and Dew.Math.TOpenCLBase.Complex properties of the calling object are set automatically.
Indexed: TOpenCLMtxVec Add(TOpenCLMtxVec Vec, Double Value, Int32 VecIndex, Int32 Index, Int32 Len)
Adds Value to each element of Vec object in range [VecIndex]..[VecIndex+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec | source TOpenCLVector or TOpenCLMatrix |
| 2 | Value | Double | scalar |
| 3 | VecIndex | Int32 | |
| 4 | Index | Int32 | start index |
| 5 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
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. Dew.Math.TOpenCLBase.Complex property of the calling object is set implicitly.
Overload 6: TOpenCLMtxVec Add(Double Value)
Adds Value to object elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | Double | scalar |
Result: stored in self (calling object), returns self for chaining
Indexed: TOpenCLMtxVec Add(Double Value, Int32 Index, Int32 Len)
Adds Value to calling object elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | Double | scalar |
| 2 | Index | Int32 | start index |
| 3 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
An exception is raised if array borders are overrun.