Stan Math Library
5.0.0
Automatic Differentiation
|
|
inline |
Return the upper-bounded value for the specified unconstrained matrix and upper bound.
The transform is
\(f(x) = U - \exp(x)\)
where \(U\) is the upper bound.
T | type of Matrix |
U | type of upper bound |
[in] | x | free Matrix. |
[in] | ub | upper bound |
Definition at line 32 of file ub_constrain.hpp.