Automatic Differentiation
 
Loading...
Searching...
No Matches
lub_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 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.