Rosetta Utilities  2014.35
Namespaces | Functions
PCA.hh File Reference
#include <numeric/xyzVector.hh>
#include <numeric/xyzMatrix.hh>
#include <numeric/xyz.functions.hh>
#include <numeric/types.hh>
#include <Eigen/Dense>
#include <Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h>
#include <utility/vector1.hh>

Namespaces

 numeric
 Unit headers.
 

Functions

template<typename T >
xyzVector< T > numeric::first_principal_component (utility::vector1< xyzVector< T > > const &coords)
 return the first principal component of the given set of points More...
 
template<typename T >
xyzMatrix< T > numeric::principal_components (utility::vector1< xyzVector< T > > const &coords)
 return a matrix containing the first 3 principal components of the given set of points. Matrix columns are principal components, first column is first component, etc. More...
 
template<typename T >
xyzVector< T > numeric::principal_component_eigenvalues (utility::vector1< xyzVector< T > > const &coords)
 return a vector containing the eigenvalues corresponding to the first 3 principal components of the given set of points. More...
 
template<typename T >
std::pair< xyzMatrix< T >
, xyzVector< T > > 
numeric::principal_components_and_eigenvalues (utility::vector1< xyzVector< T > > const &coords)
 return a pair containing a matrix of the first 3 principal components and a vector of the corresponding eigenvalues of the given set of points. More...
 
std::pair< utility::vector1
< utility::vector1< Real >
>, utility::vector1< Real > > 
numeric::principal_components_and_eigenvalues_ndimensions (utility::vector1< utility::vector1< Real > > const &coords, bool const shift_center)
 Return a pair containing a matrix (vector of vectors) of all of the principal components and a vector of the corresponding eigenvalues of the given set of points in n-dimensional space. More...
 

Detailed Description

Author
Tim Jacobs
N-dimensional principal component analysis code by Vikram K. Mulligan (vmull.nosp@m.ig@u.nosp@m.w.edu)