TooN 2.1
|
Compute eigensystems for sizes > 2 Helper struct for computing eigensystems, to allow for specialization on 2x2 matrices. More...
#include <SymEigen.h>
Static Public Member Functions | |
template<int Rows, int Cols, typename P , typename B > | |
static void | compute (const Matrix< Rows, Cols, P, B > &m, Matrix< Size, Size, P > &evectors, Vector< Size, P > &evalues) |
Compute eigensystems for sizes > 2 Helper struct for computing eigensystems, to allow for specialization on 2x2 matrices.
static void compute | ( | const Matrix< Rows, Cols, P, B > & | m, |
Matrix< Size, Size, P > & | evectors, | ||
Vector< Size, P > & | evalues | ||
) | [static] |
Compute an eigensystem.
m | Input matrix (assumed to be symmetric) |
evectors | Eigen vector output |
evalues | Eigen values output |
References Matrix< Rows, Cols, Precision, Layout >::num_cols(), Matrix< Rows, Cols, Precision, Layout >::num_rows(), and Vector< Size, Precision, Base >::size().