Stan Math Library
4.9.0
Automatic Differentiation
|
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/fun/log.hpp>
#include <stan/math/prim/fun/to_ref.hpp>
#include <stan/math/prim/functor/apply_scalar_unary.hpp>
#include <stan/math/prim/functor/apply_vector_unary.hpp>
#include <cmath>
Go to the source code of this file.
Classes | |
struct | stan::math::logit_fun |
Structure to wrap logit() 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 , require_floating_point_t< T > * = nullptr> | |
double | stan::math::logit (const T u) |
Return the log odds of the argument. | |
template<typename Container , require_ad_container_t< Container > * = nullptr> | |
auto | stan::math::logit (const Container &x) |
Return the elementwise application of logit() to specified argument container. | |