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