Overload List
| # | Signature | Description |
|---|---|---|
| 1 | function Conj: TOpenCLMtxVec; | Conjugate. |
| └ indexed: function Conj(Index: Integer; Len: Integer): TOpenCLMtxVec; | ||
| 2 | function Conj(const Vec: TOpenCLMtxVec): TOpenCLMtxVec; | Conjugate each of Vec elements. |
| └ indexed: function Conj(const Vec: TOpenCLMtxVec; VecIndex: Integer; Index: Integer; Len: Integer): TOpenCLMtxVec; |
Overload 1: function Conj: TOpenCLMtxVec;
Conjugate.
Result: stored in self (calling object), returns self for chaining
Conjugate all calling object elements in-place.
var c: clMatrix;
begin
c.CopyFromArray(2,2,TSingleArray.Create(1,2,3,4)); // c = [1+2i, 3+4i]
c.Conj; // c = [1-2i, 3-4i]
end;
Indexed: function Conj(Index: Integer; Len: Integer): TOpenCLMtxVec;
Conjugate calling object elements [Index]..[Index+Len-1] in-place.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Index | Integer | start index |
| 2 | Len | Integer | element count |
Result: stored in self (calling object), returns self for chaining
An exception is raised if array borders are overrun.
Overload 2: function Conj(const Vec: TOpenCLMtxVec): TOpenCLMtxVec;
Conjugate each of Vec elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec | source TOpenCLVector or TOpenCLMatrix |
Result: stored in self (calling object), returns self for chaining
Store the results in the calling object. The Size and TOpenCLBase.Complex properties of the calling object are set implicitly to match Vec vector.
Indexed: function Conj(const Vec: TOpenCLMtxVec; VecIndex: Integer; Index: Integer; Len: Integer): TOpenCLMtxVec;
Conjugate Vec elements Vec[VecIndex]..Vec[VecIndex+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLMtxVec | source TOpenCLVector or TOpenCLMatrix |
| 2 | VecIndex | Integer | |
| 3 | Index | Integer | start index |
| 4 | Len | Integer | element count |
Result: stored in self (calling object), returns self for chaining
Store them in the calling object elements [Index]..[Index+Len-1]. Size and TOpenCLBase.Complex properties of the calling object must be set explicitly. An exception is raised if array borders are overrun.