autodiff.reverse.cosh

autodiff.reverse.cosh(x)

Return the hyperbolic cosine of x.

Parameters
xint, float, Node
Returns
yfloat or Node

Examples

>>> ad.cosh(1)
1.5430806348152437
>>> x = ad.Node(2)
>>> ad.cosh(x)
Node(3.7621956910836314)