clMatrix::ExtendToComplex Method

Overload List

#SignatureDescription
1TOpenCLMtxVec *ExtendToComplex(TOpenCLMtxVec *Src, bool Zeros) const;Extend Vec object to complex calling object.
2TOpenCLMtxVec *ExtendToComplex(TOpenCLMtxVec *Src, bool Zeros, int SrcIndex, int DstIndex, int Len) const;Converts the source to complex.

Overload 1: TOpenCLMtxVec *ExtendToComplex(TOpenCLMtxVec *Src, bool Zeros) const;

Extend Vec object to complex calling object.

#NameTypeDescription
1SrcTOpenCLMtxVec *
2Zerosbool
Remarks:

If Zeros is true then the calling vector imaginary part is set to zero, otherwise the calling object imaginary part is the same as calling object real part.

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

Overload 2: TOpenCLMtxVec *ExtendToComplex(TOpenCLMtxVec *Src, bool Zeros, int SrcIndex, int DstIndex, int Len) const;

Converts the source to complex.

#NameTypeDescription
1SrcTOpenCLMtxVec *
2Zerosbool
3SrcIndexint
4DstIndexint
5Lenint
Remarks:

Converts the source to complex by setting the imaginary part to either zero (zeros = True) or same as real (zeros = false). Does not set size of the calling vector. If there is not sufficient space available to store the result an exception will be raised.

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