TOpenCLValue::RealToCplx Method

Overload List

#SignatureDescription
1TOpenCLBase *RealToCplx(TOpenCLBase *ReVec, TOpenCLBase *ImVec, int ReIndex, int ImIndex, int Index, int Len);
2TOpenCLValue *RealToCplx(TOpenCLValue *ReVec, TOpenCLValue *ImVec);Constructs a complex object from two real objects.

Overload 1: TOpenCLBase *RealToCplx(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: TOpenCLValue *RealToCplx(TOpenCLValue *ReVec, TOpenCLValue *ImVec);

Constructs a complex object from two real objects.

#NameTypeDescription
1ReVecTOpenCLValue *
2ImVecTOpenCLValue *
Remarks:

Construct a complex object from the ReVec (real part) and the ImVec (imaginary part) objects. The result is stored in the calling object. FloatPrecision and TOpenCLBase::Complex properties of the calling object are set implicitly to match ReVec and ImVec objects. An exception is raised if ReVec or ImVec TOpenCLBase::Complex property is True.

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