TOpenCLValue::CplxToReal Method

Overload List

#SignatureDescription
1void CplxToReal(TOpenCLBase *ReVec, TOpenCLBase *ImVec, int ReIndex, int ImIndex, int Index, int Len);
2void CplxToReal(TOpenCLValue *ReVec, TOpenCLValue *ImVec);Split complex calling object in real and imaginary part.

Overload 1: void CplxToReal(TOpenCLBase *ReVec, TOpenCLBase *ImVec, int ReIndex, int ImIndex, int Index, int Len);

#NameTypeDescription
1ReVecTOpenCLBase *
2ImVecTOpenCLBase *
3ReIndexint
4ImIndexint
5Indexint
6Lenint
Declared in Dew::Math::TOpenCLBase · Dew.Math/clMtxVec.h · Cross-compiler

Overload 2: void CplxToReal(TOpenCLValue *ReVec, TOpenCLValue *ImVec);

Split complex calling object in real and imaginary part.

#NameTypeDescription
1ReVecTOpenCLValue *
2ImVecTOpenCLValue *
Remarks:

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

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