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: clValue;
begin
b.Copy(4);
a.Sqrt(b); // a=[2]
end;
See Also: TOpenCLValue.Sqr