1#ifndef STAN_MATH_REV_FUN_READ_CORR_MATRIX_HPP
2#define STAN_MATH_REV_FUN_READ_CORR_MATRIX_HPP
26template <
typename T_CPCs, require_var_vector_t<T_CPCs>* =
nullptr>
30 return Eigen::MatrixXd();
55template <
typename T_CPCs, require_var_vector_t<T_CPCs>* =
nullptr>
59 return Eigen::MatrixXd();
Eigen::Matrix< value_type_t< EigMat >, EigMat::RowsAtCompileTime, EigMat::RowsAtCompileTime > multiply_lower_tri_self_transpose(const EigMat &m)
Eigen::Matrix< value_type_t< T_CPCs >, Eigen::Dynamic, Eigen::Dynamic > read_corr_matrix(const T_CPCs &CPCs, size_t K)
Return the correlation matrix of the specified dimensionality corresponding to the specified canonica...
Eigen::Matrix< value_type_t< T >, Eigen::Dynamic, Eigen::Dynamic > read_corr_L(const T &CPCs, size_t K)
Return the Cholesky factor of the correlation matrix of the specified dimensionality corresponding to...
typename scalar_type< T >::type scalar_type_t
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...