TOpenCLValue *ImagPart(TOpenCLValue *Vec) const;
Gets the imaginary part of a complex object.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TOpenCLValue * |
Remarks:
Gets the imaginary 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 must be true otherwise an exception will be raised.
See Also: clValue::RealPart, clValue::RealToCplx
Declared in Dew::Math::clValue · Dew.Math/clMtxExpr.h · Cross-compiler