TVec::Flip Method

Overload List

#SignatureDescription
1TMtxVec *Flip();Flips the real and imaginary part of complex numbers.
2TMtxVec *Flip(int Index, int Len);Flips the real and imaginary part of complex numbers for calling object elements [Index]..[Index+Len-1] in-place.
3TMtxVec *Flip(TMtxVec *X);Flips the real and imaginary part of complex numbers for all X object elements.
4TMtxVec *Flip(TMtxVec *X, int XIndex, int Index, int Len);Flips the real and imaginary part of complex numbers for X object elements [XIndex]..[XIndex+Len-1].

Overload 1: TMtxVec *Flip();

Flips the real and imaginary part of complex numbers.

Returns: Flipped real and imaginary part of complex numbers for all calling object elements in-place. The following transformation is used: a + i*b -> b + i*a

See Also: TVec::FlipConj
Declared in Dew::Math::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler

Overload 2: TMtxVec *Flip(int Index, int Len);

Flips the real and imaginary part of complex numbers for calling object elements [Index]..[Index+Len-1] in-place.

#NameTypeDescription
1Indexint
2Lenint
Remarks:

An exception is raised if array borders are overrun or underrun.

Declared in Dew::Math::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler

Overload 3: TMtxVec *Flip(TMtxVec *X);

Flips the real and imaginary part of complex numbers for all X object elements.

#NameTypeDescription
1XTMtxVec *
Remarks:

Xtore the results in the calling object. Size and TVec::Complex properties of calling object are adjusted automatically.

Declared in Dew::Math::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler

Overload 4: TMtxVec *Flip(TMtxVec *X, int XIndex, int Index, int Len);

Flips the real and imaginary part of complex numbers for X object elements [XIndex]..[XIndex+Len-1].

#NameTypeDescription
1XTMtxVec *
2XIndexint
3Indexint
4Lenint
Remarks:

Store the results in the calling object elements [Index]..[Index+Len-1]. An exception is raised if array borders are overrun or underrun.

Declared in Dew::Math::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler