TOpenCLValue.InvSqrt Method

function InvSqrt(const X: TOpenCLValue): TOpenCLValue;

The inverse of square root 1/(v)^1/2.

#NameTypeDescription
1XTOpenCLValue

Returns: TOpenCLValue

Remarks:

Calculate the inverse square root 1/(element)^(1/2)) of X.

Examples
var a,b: TOpenCLValue;
begin
    CreateIt(a,b);
    try
        b.Copy(2.3);
        a.InvCbrt(b);  // a = 2.3^(1/3)
    finally
        FreeIt(a,b);
    end;
end;
See Also: TOpenCLValue.Sqrt