clValue::RealPart Method

TOpenCLValue *RealPart(TOpenCLValue *Vec) const;

Gets real part of complex object value.

#NameTypeDescription
1VecTOpenCLValue *
Remarks:

The method method gets the real part of a complex object Vec and stores the real result in the calling object. FloatPrecision and clValue::Complex properties of the calling object are set implicitly to match Vec object. Vec clValue::Complex property must be true otherwise an exception is raised.

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