1 #ifndef STAN_MATH_PRIM_SCAL_FUN_UB_FREE_HPP 2 #define STAN_MATH_PRIM_SCAL_FUN_UB_FREE_HPP 8 #include <boost/math/tools/promotion.hpp> 36 template <
typename T,
typename U>
37 inline typename boost::math::tools::promote_args<T, U>::type
ub_free(
38 const T& y,
const U& ub) {
void check_less_or_equal(const char *function, const char *name, const T_y &y, const T_high &high)
Check if y is less or equal to high.
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, U >::type ub_free(const T &y, const U &ub)
Return the free scalar that corresponds to the specified upper-bounded value with respect to the spec...
const double INFTY
Positive infinity.