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