TOpenCLValue::Flip Method

Overload List

#SignatureDescription
1TOpenCLBase *Flip(TOpenCLBase *X, int XIndex, int Index, int Len);
2TOpenCLValue *Flip(TOpenCLValue *X);Flips the real and imaginary part of a complex number.

Overload 1: TOpenCLBase *Flip(TOpenCLBase *X, int XIndex, int Index, int Len);

#NameTypeDescription
1XTOpenCLBase *
2XIndexint
3Indexint
4Lenint
Declared in Dew::Math::TOpenCLBase · Dew.Math/clMtxVec.h · Cross-compiler

Overload 2: TOpenCLValue *Flip(TOpenCLValue *X);

Flips the real and imaginary part of a complex number.

#NameTypeDescription
1XTOpenCLValue *
Remarks:

Performs the following transformation:

a + i*bi ==> b + i*a

Method flips the real and imaginary part of the complex number X and stores the result in the calling object.

See Also: TOpenCLValue::Flip, TOpenCLValue::Conj
Declared in Dew::Math::TOpenCLValue · Dew.Math/clMtxVec.h · Cross-compiler