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() [8/24]

template<typename T , typename L , typename U , typename Lp , require_eigen_t< T > * = nullptr, require_all_stan_scalar_t< L, U > * = nullptr, require_not_var_t< return_type_t< T, L, U > > * = nullptr, require_convertible_t< return_type_t< T, L, U >, Lp > * = nullptr>
auto stan::math::lub_constrain ( const T &  x,
const L &  lb,
const U &  ub,
Lp &  lp 
)
inline

Overload for Eigen matrix and scalar bounds plus lp.

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

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

Definition at line 135 of file lub_constrain.hpp.