1 #ifndef STAN_MATH_PRIM_SCAL_FUN_LB_FREE_HPP
2 #define STAN_MATH_PRIM_SCAL_FUN_LB_FREE_HPP
6 #include <boost/math/tools/promotion.hpp>
29 template <
typename T,
typename TL>
31 typename boost::math::tools::promote_args<T, TL>::type
34 if (lb == -std::numeric_limits<double>::infinity())
37 "Lower bounded variable", y, lb);
bool check_greater_or_equal(const char *function, const char *name, const T_y &y, const T_low &low)
Return true if y is greater or equal than low.
fvar< T > log(const fvar< T > &x)
T identity_free(const T y)
Returns the result of applying the inverse of the identity constraint transform to the input...
boost::math::tools::promote_args< T, TL >::type lb_free(const T y, const TL lb)
Return the unconstrained value that produces the specified lower-bound constrained value...