Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TOpenCLMtxVec ConjMul(TOpenCLMtxVec Vec) | Conjugate and multiply. |
| └ indexed: TOpenCLMtxVec ConjMul(TOpenCLMtxVec Vec, Int32 VecIndex, Int32 Index, Int32 Len) | ||
| 2 | TOpenCLMtxVec ConjMul(TOpenCLMtxVec Vec1, TOpenCLMtxVec Vec2) | Conjugate each of Vec2 elements and multiply them with corresponding elements in Vec1. |
| └ indexed: TOpenCLMtxVec ConjMul(TOpenCLMtxVec Vec1, TOpenCLMtxVec Vec2, Int32 Vec1Index, Int32 Vec2Index, Int32 Index, Int32 Len) |
Overload 1: TOpenCLMtxVec ConjMul(TOpenCLMtxVec Vec)
Conjugate and multiply.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec | source TOpenCLVector or TOpenCLMatrix |
Result: stored in self (calling object), returns self for chaining
Conjugate each of Vec elements and multiply them with corresponding elements in the calling object. The results are stored in the calling object. Size and Dew.Math.TOpenCLBase.Complex properties of the calling object are set implicitly to match Vec.
clVector a;
clVector b;
clVector c;
a.CopyFromArray(TSingleArray.Create(1,2,3,4));
b.CopyFromArray(TSingleArray.Create(4,3,2,1));
c.ConjMul(a,b);
Indexed: TOpenCLMtxVec ConjMul(TOpenCLMtxVec Vec, Int32 VecIndex, Int32 Index, Int32 Len)
Conjugate Vec elements Vec[VecIndex]..Vec[VecIndex+Len-1] and multiply them with corresponding 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
The results are stored in the calling object elements [Index]..[Index+Len-1]. Size and Dew.Math.TOpenCLBase.Complex properties are not set.
An exception is raised if array borders are overrun or underrun.
Overload 2: TOpenCLMtxVec ConjMul(TOpenCLMtxVec Vec1, TOpenCLMtxVec Vec2)
Conjugate each of Vec2 elements and multiply them with corresponding elements in Vec1.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec1 | TOpenCLMtxVec | source TOpenCLVector or TOpenCLMatrix |
| 2 | Vec2 | 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 objects.
Indexed: TOpenCLMtxVec ConjMul(TOpenCLMtxVec Vec1, TOpenCLMtxVec Vec2, Int32 Vec1Index, Int32 Vec2Index, Int32 Index, Int32 Len)
Conjugate Vec2 elements [Vec2Index]..[Vec2Index+Len-1] and multiply them with corresponding Vec1 elements [Vec1Index]..[Vec1Index+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
The results are stored in the calling object elements [Index]..[Index+Len-1]. Size and Dew.Math.TOpenCLBase.Complex properties of the calling vector must be set explicitly. An exception is raised if array borders are overrun.