clValue.Flip Method

function Flip(const X: TOpenCLValue): TOpenCLValue;

Flips the real and imaginary part of complex number.

#NameTypeDescription
1XTOpenCLValue

Returns: TOpenCLValue

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