1#ifndef STAN_MATH_PRIM_FUN_LOG1M_INV_LOGIT_HPP
2#define STAN_MATH_PRIM_FUN_LOG1M_INV_LOGIT_HPP
68 static inline auto fun(
const T& x) {
83template <
typename T, require_not_var_matrix_t<T>* =
nullptr,
84 require_not_nonscalar_prim_or_rev_kernel_expression_t<T>* =
nullptr>
85inline typename apply_scalar_unary<log1m_inv_logit_fun, T>::return_t
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(const 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.