Stan Math Library
5.0.0
Automatic Differentiation
|
|
inline |
Specialization of ub_constrain
to apply a scalar upper bound elementwise to each input element.
T | A Any type with a Scalar scalar_type . |
U | Scalar. |
[in] | x | unconstrained input |
[in] | ub | upper bound on output |
Definition at line 163 of file ub_constrain.hpp.