TooN 2.1
|
Compute 2x2 eigensystems Helper struct for computing eigensystems, specialized on 2x2 matrices. More...
#include <SymEigen.h>
Static Public Member Functions | |
template<typename P , typename B > | |
static void | compute (const Matrix< 2, 2, P, B > &m, Matrix< 2, 2, P > &eig, Vector< 2, P > &ev) |
Compute 2x2 eigensystems Helper struct for computing eigensystems, specialized on 2x2 matrices.
static void compute | ( | const Matrix< 2, 2, P, B > & | m, |
Matrix< 2, 2, P > & | eig, | ||
Vector< 2, P > & | ev | ||
) | [static] |
Compute an eigensystem.
m | Input matrix (assumed to be symmetric) |
eig | Eigen vector output |
ev | Eigen values output |
References TooN::sqrt(), and TooN::trace().