autodiff.arcsin¶
- autodiff.arcsin(x)¶
- Return the inverse sine of x. - Parameters
- xint, float, Dual
 
- Returns
- yfloat or Dual
 
 - 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.Dual(0.5, 1) >>> ad.arcsin(x) Dual(0.5235987755982988, array([1.15470054])) - Derivative undefined: - >>> x = ad.Dual(1, 1) >>> ad.arcsin(x) Traceback (most recent call last): ... ValueError: Derivative of arcsin(x) is undefined for x = 1