clMatrix::ImagPart Method

Overload List

#SignatureDescription
1TOpenCLMtxVec *ImagPart(TOpenCLMtxVec *Vec) const;Gets the imaginary part of a complex object.
2TOpenCLMtxVec *ImagPart(TOpenCLMtxVec *Vec, int VecIndex, int Index, int Len) const;Gets the imaginary part of complex object Vec elements [VecIndex]..[VecIndex+Len-1].

Overload 1: TOpenCLMtxVec *ImagPart(TOpenCLMtxVec *Vec) const;

Gets the imaginary part of a complex object.

#NameTypeDescription
1VecTOpenCLMtxVec *
Remarks:

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

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

Overload 2: TOpenCLMtxVec *ImagPart(TOpenCLMtxVec *Vec, int VecIndex, int Index, int Len) const;

Gets the imaginary part of complex object Vec elements [VecIndex]..[VecIndex+Len-1].

#NameTypeDescription
1VecTOpenCLMtxVec *
2VecIndexint
3Indexint
4Lenint
Remarks:

Stores the result in calling object. An exception is raised if the calling object is complex, if Vec is not complex or if array borders are overrun/underrun.

Declared in Dew::Math::clMatrix · Dew.Math/clMtxExpr.h · Cross-compiler