Stan Math Library
5.0.0
Automatic Differentiation
|
|
inline |
Return the lower-bounded value for the specified unconstrained input and specified lower bound.
Specialization of lb_constrain
to apply a matrix of lower bounds elementwise to each input element.
The transform applied is
\(f(x) = \exp(x) + L\)
where \(L\) is the constant lower bound.
T | Scalar. |
L | Scalar. |
[in] | x | Unconstrained input |
[in] | lb | 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 |
T | A type inheriting from EigenBase or a var_value with inner type inheriting from EigenBase . |
L | A type inheriting from EigenBase or a var_value with inner type inheriting from EigenBase . |
[in] | x | unconstrained input |
[in] | lb | lower bound on output |
Definition at line 37 of file lb_constrain.hpp.