Robot Simulator of the Robotics Group for Self-Organization of Control  0.8.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
matrixutils.h File Reference
#include "matrix.h"
Include dependency graph for matrixutils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 matrix
 namespace for the matrix library
 

Functions

Matrix eigenValuesRealSym (const Matrix &m)
 calculates the eigenvalues of the real and symmetric matrix m and returns them as a column vector in descending order More...
 
bool eigenValuesVectorsRealSym (const Matrix &m, Matrix &eigenvalues, Matrix &eigenvectors)
 calculates the eigenvalues and corresponding eigenvectors of the the real and symmetric matrix m. More...
 
bool eigenValues (const Matrix &m, Matrix &vals_real, Matrix &vals_imag)
 calculates the eigenvalues of the matrix m and returns them as a column vectors seperated to real and imaginary part in descending order. More...
 
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. More...
 
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. More...
 
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. More...