autodiff.reverse.arcsin¶
- autodiff.reverse.arcsin(x)¶
Return the inverse sine of x.
- Parameters
- xint, float, Node
- Returns
- yfloat or Node
Notes
The derivative of arcsin(x) is undefined when x is not in the range (-1, 1).
Examples
>>> ad.arcsin(1) 1.5707963267948966
>>> x = ad.Node(0.5) >>> ad.arcsin(x) Node(0.5235987755982989)
Derivative undefined:
>>> x = ad.Node(1) >>> ad.arcsin(x) Traceback (most recent call last): ... ValueError: Derivative of arcsin(x) is undefined for x = 1