TOpenCLValue InvSqrt(TOpenCLValue X)
The inverse of square root 1/(v)^1/2.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TOpenCLValue | source TOpenCLValue |
Returns: TOpenCLValue
Remarks:
Calculate the inverse square root 1/(element)^(1/2)) of X.
Examples
clValue a;
clValue b;
b.Copy(2.3);
a.InvCbrt(b); // a = 2.3^(1/3)
See Also: clValue.Sqrt