Stan Math Library
4.9.0
Automatic Differentiation
|
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/err.hpp>
#include <stan/math/prim/fun/constants.hpp>
#include <stan/math/prim/constraint/identity_free.hpp>
#include <stan/math/prim/fun/log.hpp>
#include <cmath>
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. | |