TSparseMtx.Expj Method

Overload List

#SignatureDescription
1function Expj: TMtxVec;A complex exponential e^(j*Omega)).
2function Expj(const Omega: TMtxVec): TMtxVec;Calculate the e^(j*Omega), a complex exponential.
3function Expj(const Omega: TMtxVec; OmegaIndex: Integer; Index: Integer; Len: Integer): TMtxVec;Calculate the complex exponential for Omega elements [OmegaIndex]..[OmegaIndex+Len-1].

Overload 1: function Expj: TMtxVec;

A complex exponential e^(j*Omega)).

Result: stored in self (calling object), returns self for chaining

Remarks:

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 TMtxVec.Exp method instead.

Examples
var a: Matrix;
begin
    a.SetIt(2,2,False,[1,2,3,4]);
    a.Expj;   // a = [e^i, e^2i, e^3i, e^4i]
end;

Overload 2: function Expj(const Omega: TMtxVec): TMtxVec;

Calculate the e^(j*Omega), a complex exponential.

#NameTypeDescription
1OmegaTMtxVecsource TVec or TMtx

Result: stored in self (calling object), returns self for chaining

Remarks:

Omega must be a real object. If omega is complex, then use the TMtxVec.Exp method.

Overload 3: function Expj(const Omega: TMtxVec; OmegaIndex: Integer; Index: Integer; Len: Integer): TMtxVec;

Calculate the complex exponential for Omega elements [OmegaIndex]..[OmegaIndex+Len-1].

#NameTypeDescription
1OmegaTMtxVecsource TVec or TMtx
2OmegaIndexInteger
3IndexIntegerstart index
4LenIntegerelement count

Result: stored in self (calling object), returns self for chaining

Remarks:

Store the results in calling object elements [Index]..[Index+Len-1]. Size and TMtxVec.Complex properties of the calling vector must be set explicitly. An exception is raised if TMtxVecBase.ConditionCheck is True and array borders are overrun or underrun.