Overload List
| # | Signature | Description |
|---|---|---|
| 1 | function RealPart(X: TOpenCLMatrix): clMatrix; | Returns the real part of the complex number. |
| 2 | function RealPart(X: TOpenCLValue): clValue; | Returns the real part of the complex number. |
| 3 | function RealPart(X: TOpenCLVector): clVector; | Returns the real part of the complex number. |
Overload 1: function RealPart(X: TOpenCLMatrix): clMatrix;
Returns the real part of the complex number.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TOpenCLMatrix | source TOpenCLMatrix |
Returns: clMatrix
Remarks:
Internally calls clMatrix.RealPart
Overload 2: function RealPart(X: TOpenCLValue): clValue;
Returns the real part of the complex number.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TOpenCLValue | source TOpenCLValue |
Returns: clValue
Remarks:
Internally calls clValue.RealPart
Examples
var a,b: TOpenCLValue;
begin
CreateIt(a,b);
try
a.Copy(Cplx(2,3)); // = [2+3i]
b.RealPart(a); // b = [2]
finally
FreeIt(a,b);
end;
end;
Overload 3: function RealPart(X: TOpenCLVector): clVector;
Returns the real part of the complex number.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TOpenCLVector | source TOpenCLVector |
Returns: clVector
Remarks:
Internally calls clVector.RealPart