TOpenCLValue::ImagPart Method

Overload List

#SignatureDescription
1TOpenCLBase *ImagPart(TOpenCLBase *Vec, int VecIndex, int Index, int Len);
2TOpenCLValue *ImagPart(TOpenCLValue *Vec);Gets the imaginary part of a complex value.

Overload 1: TOpenCLBase *ImagPart(TOpenCLBase *Vec, int VecIndex, int Index, int Len);

#NameTypeDescription
1VecTOpenCLBase *
2VecIndexint
3Indexint
4Lenint
Declared in Dew::Math::TOpenCLBase · Dew.Math/clMtxVec.h · Cross-compiler

Overload 2: TOpenCLValue *ImagPart(TOpenCLValue *Vec);

Gets the imaginary part of a complex value.

#NameTypeDescription
1VecTOpenCLValue *
Remarks:

Gets the imaginary part of a complex value Vec and stores the real result in the calling object. FloatPrecision and TOpenCLBase::Complex properties of the calling object are set implicitly to match Vec object. Vec TOpenCLBase::Complex must be true otherwise the exception will be raised.

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