Stan Math Library
4.9.0
Automatic Differentiation
|
var_value< Eigen::MatrixXd > stan::math::cholesky_corr_constrain | ( | const T & | y, |
int | K | ||
) |
Return the Cholesky factor of the correlation matrix of the sepcified size read from the unconstrained vector y
.
A total of K choose 2 elements are required to build a K by K Cholesky factor.
T | type of input vector (must be a var_value<S> where S inherits from EigenBase) |
y | Vector of unconstrained values |
K | number of rows |
Definition at line 28 of file cholesky_corr_constrain.hpp.