Stan Math Library
4.9.0
Automatic Differentiation
|
|
inline |
Overload for Eigen matrix and matrix bounds.
Specialization for Eigen matrix and matrix bounds.
Return the lower and upper-bounded scalar derived by transforming the specified free scalar given the specified lower and upper bounds.
The transform is the transformed and scaled inverse logit,
\(f(x) = L + (U - L) \mbox{logit}^{-1}(x)\)
T | Scalar. |
L | Scalar. |
U | Scalar. |
[in] | x | Free scalar to transform. |
[in] | lb | Lower bound. |
[in] | ub | Upper bound. |
std::domain_error | if ub <= lb |
Definition at line 204 of file lub_constrain.hpp.