clValue.Inv Method

TOpenCLValue Inv(TOpenCLValue X)

Inverse (1/x).

#NameTypeDescription
1XTOpenCLValuesource 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