Matrixd Matrix
Definition: osgforwarddecl.h:47
Matrix eigenValuesRealSym(const Matrix &m)
calculates the eigenvalues of the real and symmetric matrix m and returns them as a column vector in ...
Definition: matrixutils.cpp:26
Matrix scaleEigenVectorsWithValue(const Matrix &vals_real, const Matrix &vals_imag, Matrix &vecs_real, Matrix &vecs_imag)
scales the eigenvectors with the absolute value of the eigenvalues.
Definition: matrixutils.cpp:247
bool eigenValues(const Matrix &m, Matrix &real, Matrix &imag)
calculates the eigenvalues of the matrix m and returns them as a column vectors seperated to real and...
Definition: matrixutils.cpp:71
std::vector< int > toPositiveSignEigenVectors(Matrix &vecs_real, Matrix &vecs_imag)
flips the signs of the eigenvectors such that their first entry has positive real part...
Definition: matrixutils.cpp:225
bool eigenValuesVectorsRealSym(const Matrix &m, Matrix &eigenvalues, Matrix &eigenvectors)
calculates the eigenvalues and corresponding eigenvectors of the the real and symmetric matrix m...
Definition: matrixutils.cpp:46
bool eigenValuesVectors(const Matrix &m, Matrix &vals_real, Matrix &vals_imag, Matrix &vecs_real, Matrix &vecs_imag)
calculates the eigenvalues and corresponding eigenvectors of the matrix m.
Definition: matrixutils.cpp:92