TOpenCLValue.Sqrt Method

function Sqrt(const X: TOpenCLValue): TOpenCLValue;

Square root.

#NameTypeDescription
1XTOpenCLValue

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