Overload List
| # | Signature | Description |
|---|---|---|
| 1 | function Frac(X: TOpenCLMatrix): clMatrix; | Return the fractional part of a real number in the source. |
| 2 | function Frac(X: TOpenCLValue): clValue; | Return the fractional part of a real number in the source. |
| 3 | function Frac(X: TOpenCLVector): clVector; | Return the fractional part of a real number in the source. |
Overload 1: function Frac(X: TOpenCLMatrix): clMatrix;
Return the fractional part of a real number in the source.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TOpenCLMatrix | source TOpenCLMatrix |
Returns: clMatrix
Remarks:
Internally calls clMatrix.Frac
Overload 2: function Frac(X: TOpenCLValue): clValue;
Return the fractional part of a real number in the source.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TOpenCLValue | source TOpenCLValue |
Returns: clValue
Remarks:
Internally calls clValue.Frac
Examples
var a,b: clValue;
begin
b.Copy(2.3);
a.Frac(b); // a = 0.3
end;
Overload 3: function Frac(X: TOpenCLVector): clVector;
Return the fractional part of a real number in the source.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TOpenCLVector | source TOpenCLVector |
Returns: clVector
Remarks:
Internally calls clVector.Frac