Stan Math Library  2.11.0
reverse mode automatic differentiation
Namespaces | Functions
digamma.hpp File Reference
#include <boost/math/special_functions/digamma.hpp>

Go to the source code of this file.

Namespaces

 stan
 
 stan::math
 Matrices and templated mathematical functions.
 

Functions

double stan::math::digamma (double x)
 

\[ \mbox{digamma}(x) = \begin{cases} \textrm{error} & \mbox{if } x\in \{\dots, -3, -2, -1, 0\}\\ \Psi(x) & \mbox{if } x\not\in \{\dots, -3, -2, -1, 0\}\\[6pt] \textrm{NaN} & \mbox{if } x = \textrm{NaN} \end{cases} \]

More...
 

     [ Stan Home Page ] © 2011–2016, Stan Development Team.