![]() |
Stan Math Library
5.0.0
Automatic Differentiation
|
|
inline |
Specialization of ub_constrain
to apply a container of upper bounds elementwise to each input element.
T | A Any type with a Scalar scalar_type . |
U | A type inheriting from EigenBase or a standard vector. |
Lp | Scalar, should be convertable from T and the scalar type of U |
[in] | x | unconstrained input |
[in] | ub | upper bound on output |
[in,out] | lp | reference to log probability to increment |
Definition at line 232 of file ub_constrain.hpp.