Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ sinh() [7/9]

var stan::math::sinh ( const var a)
inline

Return the hyperbolic sine of the specified variable (cmath).

The derivative is defined by

\(\frac{d}{dx} \sinh x = \cosh x\).

\[ \mbox{sinh}(x) = \begin{cases} \sinh(x) & \mbox{if } -\infty\leq x \leq \infty \\[6pt] \textrm{NaN} & \mbox{if } x = \textrm{NaN} \end{cases} \]

\[ \frac{\partial\, \mbox{sinh}(x)}{\partial x} = \begin{cases} \cosh(x) & \mbox{if } -\infty\leq x\leq \infty \\[6pt] \textrm{NaN} & \mbox{if } x = \textrm{NaN} \end{cases} \]

Parameters
aVariable.
Returns
Hyperbolic sine of variable.

Definition at line 44 of file sinh.hpp.