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

◆ exp() [7/9]

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

Return the exponentiation of the specified variable (cmath).

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

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

Parameters
aVariable to exponentiate.
Returns
Exponentiated variable.

Definition at line 39 of file exp.hpp.