Stan Math Library
5.0.0
Automatic Differentiation
|
|
inline |
Specialization of ub_constrain
to apply a scalar upper bound elementwise to each input.
T | A type inheriting from EigenBase or a var_value with inner type inheriting from EigenBase . |
U | Scalar. |
[in] | x | unconstrained input |
[in] | ub | upper bound on output |
[in,out] | lp | reference to log probability to increment |
Definition at line 187 of file ub_constrain.hpp.