Automatic Differentiation
 
Loading...
Searching...
No Matches
ub_free.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  stan
 The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation from C or the boost::math::lgamma implementation.
 
namespace  stan::math
 Matrices and templated mathematical functions.
 

Functions

template<typename T , typename U , require_not_std_vector_t< T > * = nullptr, require_stan_scalar_t< U > * = nullptr>
auto stan::math::ub_free (T &&y, U &&ub)
 Return the free scalar that corresponds to the specified upper-bounded value with respect to the specified upper bound.
 
template<typename T , typename U , require_all_eigen_t< T, U > * = nullptr>
auto stan::math::ub_free (T &&y, U &&ub)
 Return the free matrix that corresponds to the specified upper-bounded matrix with respect to the specified upper bound.
 
template<typename T , typename U , require_not_std_vector_t< U > * = nullptr>
auto stan::math::ub_free (const std::vector< T > y, const U &ub)
 Return the free variable that corresponds to the specified upper-bounded variable with respect to the specified upper bound.
 
template<typename T , typename U >
auto stan::math::ub_free (const std::vector< T > y, const std::vector< U > &ub)
 Return the free variable that corresponds to the specified upper-bounded variable with respect to the specified upper bound.