TOpenCLValue.Inv Method

function Inv(const X: TOpenCLValue): TOpenCLValue;

Inverse elements.

#NameTypeDescription
1XTOpenCLValue

Returns: TOpenCLValue

Remarks:

Calculates the inverse of X without limiting the inverse operation (to protect against overflow).

Examples
var a,b: TOpenCLValue;
begin
    CreateIt(a,b);
    try
        b.Copy(8);
        a.Inv(b);  // a = 1/8
    finally
        FreeIt(a,b);
    end;
end;
See Also: TOpenCLValue.Divide