1#ifndef STAN_MATH_PRIM_CONSTRAINT_PROB_CONSTRAIN_HPP
2#define STAN_MATH_PRIM_CONSTRAINT_PROB_CONSTRAIN_HPP
54 return exp(log_inv_logit_x);
71template <
bool Jacobian,
typename T>
fvar< T > log_inv_logit(const fvar< T > &x)
fvar< T > inv_logit(const fvar< T > &x)
Returns the inverse logit function applied to the argument.
T prob_constrain(const 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)
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...