Matrix::ImagPart Method

Overload List

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

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

Gets the imaginary part of a complex object.

#NameTypeDescription
1VecTMtxVec *
Remarks:

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

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

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

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

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

Store 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::Matrix · Dew.Math/MtxExpr.h · Cross-compiler