ac207-autodiff
Return the cosine of x.
Examples
>>> ad.cos(np.pi / 2) 0.0
>>> x = ad.Node(np.pi / 2) >>> ad.cos(x) Node(0)
previous
autodiff.reverse.sin
next
autodiff.reverse.tan