Stan Math Library
4.9.0
Automatic Differentiation
|
Eigen::Matrix< value_type_t< T_CPCs >, Eigen::Dynamic, Eigen::Dynamic > stan::math::read_corr_matrix | ( | const T_CPCs & | CPCs, |
size_t | K | ||
) |
Return the correlation matrix of the specified dimensionality corresponding to the specified canonical partial correlations.
See read_corr_matrix(Array, size_t, T)
for more information.
T_CPCs | type of the array (must be derived from Eigen::ArrayBase and have one compile-time dimension equal to 1) |
CPCs | The (K choose 2) canonical partial correlations in (-1, 1). |
K | Dimensionality of correlation matrix. |
Definition at line 27 of file read_corr_matrix.hpp.