Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ lub_constrain() [8/22]

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

Overload for Eigen matrix and scalar bounds plus lp.

Specialization 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 132 of file lub_constrain.hpp.