Vector.Expj Method

Overload List

#SignatureDescription
1TMtxVec ExpjA complex exponential e^(j*W).
2TMtxVec Expj(TMtxVec Omega)Calculate the e^(j*W), a complex exponential.
3TMtxVec Expj(TMtxVec Omega, Int32 OmegaIndex, Int32 Index, Int32 Len)Calculate the complex exponential for Omega elements [OmegaIndex]..[OmegaIndex+Len-1].

Overload 1: TMtxVec Expj

A complex exponential e^(j*W).

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

Examples
Vector a;
a.SetIt(false,new double[] {1,2,3,4});
a.Expj;   // a = [e^i, e^2i, e^3i, e^4i]
See Also: Vector.Exp

Overload 2: TMtxVec Expj(TMtxVec Omega)

Calculate the e^(j*W), 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 method.

Overload 3: TMtxVec Expj(TMtxVec Omega, Int32 OmegaIndex, Int32 Index, Int32 Len)

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

#NameTypeDescription
1OmegaTMtxVecsource TVec or TMtx
2OmegaIndexInt32
3IndexInt32start index
4LenInt32element 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 Dew.Math.Vector.Complex properties of the calling vector must be set explicitly. An exception is raised if Dew.Math.Vector.ConditionCheck is True and array borders are overrun or underrun.