1#ifndef STAN_MATH_PRIM_FUN_LOG1M_INV_LOGIT_HPP
2#define STAN_MATH_PRIM_FUN_LOG1M_INV_LOGIT_HPP
37template <
typename T, require_arithmetic_t<T>* =
nullptr>
39 const auto u =
static_cast<double>(uu);
59 static inline auto fun(T&& x) {
74template <
typename T, require_not_var_matrix_t<T>* =
nullptr,
75 require_not_nonscalar_prim_or_rev_kernel_expression_t<T>* =
nullptr,
76 require_container_t<T>* =
nullptr>
fvar< T > log1p_exp(const fvar< T > &x)
fvar< T > log1m_inv_logit(const fvar< T > &x)
Return the natural logarithm of one minus the inverse logit of the specified argument.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
Base template class for vectorization of unary scalar functions defined by a template class F to a sc...
static auto fun(T &&x)
Return the natural logarithm of one minus the inverse logit of the specified argument.
Structure to wrap log1m_inv_logit() so it can be vectorized.