Stan Math Library  2.11.0
reverse mode automatic differentiation
Static Public Member Functions | List of all members
stan::math::digamma_fun Struct Reference

Structure to wrap digamma() so it can be vectorized. More...

#include <digamma.hpp>

Static Public Member Functions

template<typename T >
static T fun (const T &x)
 

Detailed Description

Structure to wrap digamma() so it can be vectorized.

Parameters
xVariable.
Template Parameters
TVariable type.
Returns
Digamma function applied to x.
Exceptions
std::domain_errorif x is a negative integer or 0

Definition at line 17 of file digamma.hpp.

Member Function Documentation

template<typename T >
static T stan::math::digamma_fun::fun ( const T &  x)
inlinestatic

Definition at line 19 of file digamma.hpp.


The documentation for this struct was generated from the following file:

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