1#ifndef STAN_MATH_PRIM_CONSTRAINT_PROB_CONSTRAIN_HPP
2#define STAN_MATH_PRIM_CONSTRAINT_PROB_CONSTRAIN_HPP
50template <
typename T,
typename Lp>
54 return exp(std::move(log_inv_logit_x));
71template <
bool Jacobian,
typename T,
typename Lp>
auto inv_logit(T &&x)
Returns the inverse logit function applied to the argument.
fvar< T > log_inv_logit(const fvar< T > &x)
auto prob_constrain(T &&x)
Return a probability value constrained to fall between 0 and 1 (inclusive) for the specified free sca...
fvar< T > log1m_inv_logit(const fvar< T > &x)
Return the natural logarithm of one minus the inverse logit of the specified argument.
fvar< T > exp(const fvar< T > &x)
typename plain_type< std::decay_t< T > >::type plain_type_t
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...