function Sqrt(const X: TOpenCLValue): TOpenCLValue;
Square root.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TOpenCLValue |
Returns: TOpenCLValue
Remarks:
Calculate the square root of X.
Examples
var a,b: TOpenCLValue;
begin
CreateIt(a,b);
try
b.Copy(4);
a.Sqrt(b); // a=[2]
finally
FreeIt(a,b);
end;
end;
See Also: TOpenCLValue.Sqr