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

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

#include <trigamma.hpp>

Static Public Member Functions

template<typename T >
static T fun (const T &x)
 Return the approximate value of the Phi() function applied to the argument. More...
 

Detailed Description

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

Definition at line 13 of file trigamma.hpp.

Member Function Documentation

§ fun()

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

Return the approximate value of the Phi() function applied to the argument.

Template Parameters
Targument type
Parameters
xargument
Returns
aprpoximate value of Phi applied to argument.

Definition at line 23 of file trigamma.hpp.


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

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