SpatiumLib
|
Go to the source code of this file.
Namespaces | |
spatium | |
spatium::stats | |
Functions | |
double | spatium::stats::mean (const std::vector< double > &values) |
Compute mean value. More... | |
double | spatium::stats::variance (const std::vector< double > &values, bool sample=false) |
Compute the variance. More... | |
double | spatium::stats::stdDev (const std::vector< double > &values, bool sample=false) |
Compute the standard deviation. More... | |
double | spatium::stats::covariance (const std::vector< double > &values1, const std::vector< double > &values2, bool sample=false) |
Compute the covariance. More... | |
Matrix | spatium::stats::covariance (const Matrix &values) |
Compute the covariance matrix. More... | |
int | spatium::stats::eigenvalues2 (const Matrix &matrix, double &eigenval1, double &eigenval2) |
Compute eigenvalues for 2-by-2 matrix. More... | |
bool | spatium::stats::eigenvector2 (const Matrix &matrix, double eigenval, std::vector< double > &eigenvec) |
Compute the eigenvector of a 2-by-2 matrix for a given eigenvalue. More... | |