Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ read_cov_matrix() [4/4]

template<typename T_CPCs , typename T_sds , require_all_var_vector_t< T_CPCs, T_sds > * = nullptr>
var_value< Eigen::MatrixXd > stan::math::read_cov_matrix ( const T_CPCs &  CPCs,
const T_sds &  sds 
)
inline

Builds a covariance matrix from CPCs and standard deviations.

Template Parameters
T_CPCstype of CPCs vector (must be a var_value<T> where T inherits from EigenBase)
T_sdstype of sds vector (must be a var_value<T> where T inherits from EigenBase)
Parameters
CPCsin (-1, 1)
sdsin (0, inf)

Definition at line 46 of file read_cov_matrix.hpp.