|
TooN 2.1
|
Compute 3x3 eigensystems Helper struct for computing eigensystems, specialized on 3x3 matrices. More...
#include <SymEigen.h>
Static Public Member Functions | |
| template<typename P , typename B > | |
| static void | compute (const Matrix< 3, 3, P, B > &m, Matrix< 3, 3, P > &eig, Vector< 3, P > &ev) |
Compute 3x3 eigensystems Helper struct for computing eigensystems, specialized on 3x3 matrices.
| static void compute | ( | const Matrix< 3, 3, P, B > & | m, |
| Matrix< 3, 3, P > & | eig, | ||
| Vector< 3, P > & | ev | ||
| ) | [static] |
Compute an eigensystem.
| m | Input matrix (assumed to be symmetric) |
| eig | Eigen vector output |
| ev | Eigen values output |
Need A,B = cubert(alpha +- beta) Turn in to r, theta r^(1/3) * e^(i * theta/3)
References TooN::Identity, TooN::norm_1(), TooN::normalize(), TooN::Ones, TooN::sqrt(), and TooN::unit().
1.7.4