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

◆ lb_constrain() [8/14]

template<typename T , typename L , require_not_std_vector_t< L > * = nullptr>
auto stan::math::lb_constrain ( const std::vector< T > &  x,
const L &  lb 
)
inline

Specialization of lb_constrain to apply a container of lower bounds elementwise to each input element.

Template Parameters
TA Any type with a Scalar scalar_type.
LA type inheriting from EigenBase or a scalar.
Parameters
[in]xunconstrained input
[in]lblower bound on output
Returns
lower-bound constrained value corresponding to inputs

Definition at line 153 of file lb_constrain.hpp.