![]() |
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/exp.hpp>#include <stan/math/prim/fun/inv.hpp>#include <stan/math/prim/functor/apply_scalar_unary.hpp>#include <cmath>Go to the source code of this file.
Classes | |
| struct | stan::math::inv_logit_fun |
| Structure to wrap inv_logit() so that 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 , require_arithmetic_t< T > * = nullptr> | |
| double | stan::math::inv_logit (T &&a) |
| Returns the inverse logit function applied to the argument. | |
| template<typename Container , require_ad_container_t< Container > * = nullptr, require_all_not_nonscalar_prim_or_rev_kernel_expression_t< Container > * = nullptr, require_not_rev_matrix_t< Container > * = nullptr> | |
| auto | stan::math::inv_logit (Container &&x) |
| Vectorized version of inv_logit() for containers containing ad types. | |
| template<typename Container , require_container_bt< std::is_arithmetic, Container > * = nullptr, require_all_not_nonscalar_prim_or_rev_kernel_expression_t< Container > * = nullptr> | |
| auto | stan::math::inv_logit (Container &&x) |
| Vectorized version of inv_logit() for containers with arithmetic scalar types. | |