function Inv(const X: TOpenCLValue): TOpenCLValue;
Inverse elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TOpenCLValue |
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