|
Euclid
Geometry Processing and Shape Analysis in C++
|
Statistics. More...
Functions | |
| template<typename DerivedA , typename DerivedB > | |
| void | Euclid::covariance_matrix (const Eigen::MatrixBase< DerivedA > &vars, Eigen::MatrixBase< DerivedB > &cov_mat) |
| Convariance matrix of a set of variables. More... | |
Running statistical analysis on a set of random variables.
| void Euclid::covariance_matrix | ( | const Eigen::MatrixBase< DerivedA > & | vars, |
| Eigen::MatrixBase< DerivedB > & | cov_mat | ||
| ) |
| vars | A \( n \times d \) matrix, having n observations. Each row is an d-dimensional variable. |
| cov_mat | The output covariance matrix, having size of \( d \times d \). |