Stan Math Library
4.9.0
Automatic Differentiation
|
|
inline |
Return the unconstrained scalar that when transformed to a valid correlation produces the specified value.
This function inverts the transform defined for corr_constrain(T)
, which is the inverse hyperbolic tangent,
\( f^{-1}(y) = \mbox{atanh}\, y = \frac{1}{2} \log \frac{y + 1}{y - 1}\).
T | Type of correlation |
[in] | y | correlation |
Definition at line 28 of file corr_free.hpp.