1 #ifndef STAN_MATH_PRIM_SCAL_FUN_LB_CONSTRAIN_HPP 2 #define STAN_MATH_PRIM_SCAL_FUN_LB_CONSTRAIN_HPP 4 #include <boost/math/tools/promotion.hpp> 31 template <
typename T,
typename TL>
35 if (lb == -std::numeric_limits<double>::infinity())
56 template <
typename T,
typename TL>
58 typename boost::math::tools::promote_args<T, TL>::type
61 if (lb == -std::numeric_limits<double>::infinity())
T lb_constrain(const T x, const TL lb)
Return the lower-bounded value for the specified unconstrained input and specified lower bound...
fvar< T > exp(const fvar< T > &x)
T identity_constrain(T x)
Returns the result of applying the identity constraint transform to the input.