clMatrix::RealPart Method

Overload List

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

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

Gets real part of complex object values.

#NameTypeDescription
1VecTOpenCLMtxVec *
Remarks:

The method method gets the real 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 property must be true otherwise an exception is raised.

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

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

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

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

Stores the results in calling object real elements [Index]..[Index+Len-1]. An exception is raised if array borders are overrun or underrun or if Vec object clMatrix::Complex propety is false.

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