TOpenCLValue Inv(TOpenCLValue X)
Inverse (1/x).
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TOpenCLValue | source TOpenCLValue |
Returns: TOpenCLValue
Remarks:
Calculates the inverse of X.
Examples
clValue a;
clValue b;
b.Copy(8);
a.Inv(b); // a = 1/8
See Also: clValue.Divide