![]() |
Stan Math Library
5.1.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 | kernel generator expression |
| L | kernel generator expression |
| [in] | x | unconstrained input |
| [in] | lb | lower bound |
| T | A type inheriting from EigenBase. |
| L | A type inheriting from EigenBase. |
| [in] | x | unconstrained input |
| [in] | lb | lower bound on output |
Definition at line 32 of file lb_constrain.hpp.