ClMtxExpr.ImagPart Method

Overload List

#SignatureDescription
1function ImagPart(X: TOpenCLMatrix): clMatrix;Returns the imaginary part of the source.
2function ImagPart(X: TOpenCLValue): clValue;Returns the imaginary part of the source.
3function ImagPart(X: TOpenCLVector): clVector;Returns the imaginary part of the source.

Overload 1: function ImagPart(X: TOpenCLMatrix): clMatrix;

Returns the imaginary part of the source.

#NameTypeDescription
1XTOpenCLMatrixsource TOpenCLMatrix

Returns: clMatrix

Remarks:

Internally calls clMatrix.ImagPart

Overload 2: function ImagPart(X: TOpenCLValue): clValue;

Returns the imaginary part of the source.

#NameTypeDescription
1XTOpenCLValuesource TOpenCLValue

Returns: clValue

Remarks:

Internally calls clValue.ImagPart

Examples
var a,b: clValue;
begin
    b.Copy(Cplx(8));
    a.ImagPart(b);  // a = 0
end;

Overload 3: function ImagPart(X: TOpenCLVector): clVector;

Returns the imaginary part of the source.

#NameTypeDescription
1XTOpenCLVectorsource TOpenCLVector

Returns: clVector

Remarks:

Internally calls clVector.ImagPart