Stan Math Library
5.0.0
Automatic Differentiation
|
bool stan::math::factor_cov_matrix | ( | const T_Sigma & | Sigma, |
T_CPCs && | CPCs, | ||
T_sds && | sds | ||
) |
This function is intended to make starting values, given a covariance matrix Sigma.
The transformations are hard coded as log for standard deviations and Fisher transformations (atanh()) of CPCs
T | type of elements in the matrix and arrays |
[in] | Sigma | covariance matrix |
[out] | CPCs | fill this unbounded (does not resize) |
[out] | sds | fill this unbounded |
Definition at line 28 of file factor_cov_matrix.hpp.