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

◆ trigamma() [5/6]

template<typename T , require_not_nonscalar_prim_or_rev_kernel_expression_t< T > * = nullptr>
auto stan::math::trigamma ( const T &  x)
inline

Return the elementwise application of trigamma() to specified argument container.

The return type promotes the underlying scalar argument type to double if it is an integer, and otherwise is the argument type.

Template Parameters
Ttype of container
Parameters
xcontainer
Returns
elementwise trigamma of container elements

Definition at line 158 of file trigamma.hpp.