Stan Math Library
4.9.0
Automatic Differentiation
|
|
inline |
Return the upper-bounded value for the specified unconstrained input and specified upper bound.
The transform applied is
\(f(x) = U - \exp(x)\)
where \(U\) is the constant upper bound.
T_x | kernel generator expression |
T_ub | kernel generator expression |
[in] | x | unconstrained input |
[in] | ub | upper bound |
Definition at line 39 of file ub_constrain.hpp.