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>
33 template <
typename T,
typename TL>
37 if (lb == -std::numeric_limits<double>::infinity())
58 template <
typename T,
typename TL>
60 typename boost::math::tools::promote_args<T, TL>::type
63 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.