clVector::Flip Method

Overload List

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

Overload 1: TOpenCLMtxVec *Flip() const;

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: clVector::FlipConj
Declared in Dew::Math::clVector · Dew.Math/clMtxExpr.h · Cross-compiler

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

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::clVector · Dew.Math/clMtxExpr.h · Cross-compiler

Overload 3: TOpenCLMtxVec *Flip(TOpenCLMtxVec *X) const;

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

#NameTypeDescription
1XTOpenCLMtxVec *
Remarks:

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

Declared in Dew::Math::clVector · Dew.Math/clMtxExpr.h · Cross-compiler

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

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

#NameTypeDescription
1XTOpenCLMtxVec *
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::clVector · Dew.Math/clMtxExpr.h · Cross-compiler