![]() |
Stan Math Library
5.1.0
Automatic Differentiation
|
#include <stan/math/prim/meta.hpp>#include <stan/math/prim/fun/constants.hpp>#include <stan/math/prim/fun/floor.hpp>#include <stan/math/prim/fun/inv.hpp>#include <stan/math/prim/fun/inv_square.hpp>#include <stan/math/prim/fun/sin.hpp>#include <stan/math/prim/fun/square.hpp>#include <stan/math/prim/functor/apply_scalar_unary.hpp>#include <cmath>Go to the source code of this file.
Classes | |
| struct | stan::math::trigamma_fun |
Structure to wrap trigamma() so it can be vectorized. More... | |
Namespaces | |
| namespace | stan |
| The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation from C or the boost::math::lgamma implementation. | |
| namespace | stan::math |
| Matrices and templated mathematical functions. | |
Functions | |
| template<typename T > | |
| T | stan::math::trigamma_impl (const T &x) |
| Return the trigamma function applied to the argument. | |
| double | stan::math::trigamma (double u) |
| Return the second derivative of the log Gamma function evaluated at the specified argument. | |
| double | stan::math::trigamma (int u) |
| Return the second derivative of the log Gamma function evaluated at the specified argument. | |
| template<typename T , require_not_nonscalar_prim_or_rev_kernel_expression_t< T > * = nullptr, require_container_t< T > * = nullptr> | |
| auto | stan::math::trigamma (T &&x) |
Return the elementwise application of trigamma() to specified argument container. | |