Stan Math Library
4.9.0
Automatic Differentiation
|
|
inline |
Return the unconstrained value corresponding to the specified positive-constrained value.
The transform is the inverse of the transform \(f\) applied by positive_constrain(T)
, namely
\(f^{-1}(x) = \log(x)\).
The input is validated using check_positive()
.
y | Input scalar. |
T | Type of scalar. |
std::domain_error | if the variable is negative |
Definition at line 29 of file positive_free.hpp.