Loading [MathJax]/extensions/TeX/AMSsymbols.js
Automatic Differentiation
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches

◆ lub_constrain() [24/24]

template<typename T , typename L , typename U , require_all_matrix_t< T, L > * = nullptr, require_stan_scalar_t< U > * = nullptr, require_var_t< return_type_t< T, L, U > > * = nullptr>
auto stan::math::lub_constrain ( const T &  x,
const L &  lb,
const U &  ub,
std::decay_t< return_type_t< T, L, U > > &  lp 
)
inline

Specialization for Eigen matrix with matrix lower bound and scalar upper bound plus lp.

Specialization for Eigen matrix with scalar lower bound and matrix upper bound plus lp.

Definition at line 305 of file lub_constrain.hpp.