Overload List
| # | Signature | Description |
|---|---|---|
| 1 | function Cos(X: TOpenCLMatrix): clMatrix; | Result = the cos function from the source and return the result |
| 2 | function Cos(X: TOpenCLValue): clValue; | Result = the cos function from the source and return the result |
| 3 | function Cos(X: TOpenCLVector): clVector; | Result = the cos function from the source and return the result |
Overload 1: function Cos(X: TOpenCLMatrix): clMatrix;
Compute the cos function from the source and return the result.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TOpenCLMatrix | source TOpenCLMatrix |
Returns: clMatrix
Remarks:
Internally calls clMatrix.Cos
Overload 2: function Cos(X: TOpenCLValue): clValue;
Compute the cos function from the source and return the result.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TOpenCLValue | source TOpenCLValue |
Returns: clValue
Remarks:
Internally calls clValue.Cos
Examples
var a,b: clValue;
begin
b.Copy(4);
a.Cos(b);
end;
Overload 3: function Cos(X: TOpenCLVector): clVector;
Compute the cos function from the source and return the result.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TOpenCLVector | source TOpenCLVector |
Returns: clVector
Remarks:
Internally calls clVector.Cos