Stan Math Library
4.9.0
Automatic Differentiation
|
|
inline |
Return the bounded value for the specified unconstrained input and specified bounds.
The transform applied is
\(f(x) = \exp(x) + L\)
where \(L\) is the constant lower bound.
T_x | type of the unconstrained input |
T_lb | type of lower bound |
T_ub | type of upper bound |
[in] | x | unconstrained input |
[in] | lb | lower bound |
[in] | ub | upper bound |
[in,out] | lp | reference to log probability to increment |
Definition at line 98 of file lub_constrain.hpp.