clValue::CplxToReal Method

void CplxToReal(TOpenCLValue *ReVec, TOpenCLValue *ImVec) const;

Split complex value in real and imaginary part.

#NameTypeDescription
1ReVecTOpenCLValue *
2ImVecTOpenCLValue *
Remarks:

Split calling objects value into real and imaginary components. Store the real component in ReVec and imaginary component in ImVec. FloatPrecision and clValue::Complex properties of ReVec and ImVec are set implicitly to match with the calling value object. An execption is raised, if the calling object is not complex.

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