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/divide.hpp>
#include <stan/math/prim/fun/eval.hpp>
#include <stan/math/prim/fun/logit.hpp>
#include <stan/math/prim/constraint/lb_free.hpp>
#include <stan/math/prim/constraint/ub_free.hpp>
#include <stan/math/prim/fun/subtract.hpp>
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 L , typename U , require_not_std_vector_t< T > * = nullptr, require_all_stan_scalar_t< L, U > * = nullptr> | |
auto | stan::math::lub_free (T &&y, L &&lb, U &&ub) |
lub_free Return the unconstrained variable that transforms to the y given the specified bounds. | |
template<typename T , typename L , typename U , require_all_eigen_t< T, L, U > * = nullptr> | |
auto | stan::math::lub_free (T &&y, L &&lb, U &&ub) |
Overload for matrix constrained variable, matrix upper bound, matrix lower bound. | |
template<typename T , typename L , typename U , require_all_not_std_vector_t< L, U > * = nullptr> | |
auto | stan::math::lub_free (const std::vector< T > y, const L &lb, const U &ub) |
Overload for std::vector constrained variable. | |
template<typename T , typename L , typename U , require_not_std_vector_t< L > * = nullptr> | |
auto | stan::math::lub_free (const std::vector< T > y, const L &lb, const std::vector< U > &ub) |
Overload for std::vector constrained variable and std::vector upper bound. | |
template<typename T , typename L , typename U , require_not_std_vector_t< U > * = nullptr> | |
auto | stan::math::lub_free (const std::vector< T > y, const std::vector< L > &lb, const U &ub) |
Overload for std::vector constrained variable and std::vector lower bound. | |
template<typename T , typename L , typename U > | |
auto | stan::math::lub_free (const std::vector< T > y, const std::vector< L > &lb, const std::vector< U > &ub) |
Overload for std::vector constrained variable and std::vector constraints. | |
template<typename T , typename L , typename U > | |
auto | stan::math::lub_free (T &&y, const std::tuple< L, U > &bounds) |
Wrapper for tuple of bounds, simply delegates to the appropriate overload. | |