1 #ifndef STAN_MATH_PRIM_SCAL_FUN_PROB_CONSTRAIN_HPP
2 #define STAN_MATH_PRIM_SCAL_FUN_PROB_CONSTRAIN_HPP
56 lp +=
log(inv_logit_x) +
log1m(inv_logit_x);
fvar< T > log(const fvar< T > &x)
fvar< T > inv_logit(const fvar< T > &x)
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(const fvar< T > &x)