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 |
[in,out] | lp | reference to log probability to increment |
Definition at line 75 of file ub_constrain.hpp.