Stan Math Library
4.9.0
Automatic Differentiation
|
|
inline |
Return the positive value for the specified unconstrained input, incrementing the scalar reference with the log absolute Jacobian determinant.
See positive_constrain(T)
for details of the transform. The log absolute Jacobian determinant is
\(\log | \frac{d}{dx} \mbox{exp}(x) | = \log | \mbox{exp}(x) | = x\).
T | type of unconstrained value |
x | unconstrained value or container |
lp | log density reference. |
Definition at line 44 of file positive_constrain.hpp.