Return the covariance matrix of the specified dimensionality derived from constraining the specified vector of unconstrained values and increment the specified log probability reference with the log absolute Jacobian determinant.
- Template Parameters
-
T | type of the vector (must be derived from Eigen::MatrixBase and have one compile-time dimension equal to 1) |
- Parameters
-
x | Input vector of unconstrained partial correlations and standard deviations. |
k | Dimensionality of returned covariance matrix. |
lp | Log probability reference to increment. |
- Returns
- Covariance matrix derived from the unconstrained partial correlations and deviations.
Definition at line 59 of file cov_matrix_constrain_lkj.hpp.