clValue::Flip Method

TOpenCLValue *Flip(TOpenCLValue *X) const;

Flips the real and imaginary part of complex number.

#NameTypeDescription
1XTOpenCLValue *
Remarks:

Performs the following transformation:

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

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

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