Overload List
| # | Signature | Description |
|---|---|---|
| 1 | function Expj: TOpenCLMtxVec; | A complex exponential e^(j*Omega)). |
| 2 | function Expj(const Omega: TOpenCLMtxVec): TOpenCLMtxVec; | Calculate the e^(j*Omega), a complex exponential. |
| 3 | function Expj(const Omega: TOpenCLMtxVec; OmegaIndex: Integer; Index: Integer; Len: Integer): TOpenCLMtxVec; | Calculate the complex exponential for Omega elements [OmegaIndex]..[OmegaIndex+Len-1]. |
Overload 1: function Expj: TOpenCLMtxVec;
A complex exponential e^(j*Omega)).
Result: stored in self (calling object), returns self for chaining
Calculate the calling object complex exponential in-place. An exception is raised if calling object is complex. If object is complex, you should use the TOpenCLMtxVec.Exp method instead.
var a: clVector;
begin
a.CopyFromArray(TSingleArray.Create(1,2,3,4));
a.Expj; // a = [e^i, e^2i, e^3i, e^4i]
end;
Overload 2: function Expj(const Omega: TOpenCLMtxVec): TOpenCLMtxVec;
Calculate the e^(j*Omega), a complex exponential.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Omega | TOpenCLMtxVec | source TOpenCLVector or TOpenCLMatrix |
Result: stored in self (calling object), returns self for chaining
Omega must be a real object. If omega is complex, then use the TOpenCLMtxVec.Exp method.
Overload 3: function Expj(const Omega: TOpenCLMtxVec; OmegaIndex: Integer; Index: Integer; Len: Integer): TOpenCLMtxVec;
Calculate the complex exponential for Omega elements [OmegaIndex]..[OmegaIndex+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Omega | TOpenCLMtxVec | source TOpenCLVector or TOpenCLMatrix |
| 2 | OmegaIndex | Integer | |
| 3 | Index | Integer | start index |
| 4 | Len | Integer | element count |
Result: stored in self (calling object), returns self for chaining
Store the results in calling object elements [Index]..[Index+Len-1]. Size and TOpenCLBase.Complex properties of the calling vector must be set explicitly. An exception is raised if array borders are overrun or underrun.