Stan Math Library
5.0.0
Automatic Differentiation
|
|
inline |
Return the lower-bounded value for the specified unconstrained input and specified lower bound.
The transform applied is
\(f(x) = \exp(x) + L\)
where \(L\) is the constant lower bound.
If the lower bound is negative infinity, this function reduces to identity_constrain(x)
.
T | Scalar |
L | Scalar |
[in] | x | Unconstrained input |
[in] | lb | lower bound on constrained output |
[in,out] | lp | reference to log probability to increment |
Definition at line 92 of file lb_constrain.hpp.