#include <gsl/gsl_math.h>
#include <gsl/gsl_eigen.h>
#include <gsl/gsl_linalg.h>
#include <qvmath/qvmatrixalgebra.h>
#include <qvcore/qvdefines.h>
Go to the source code of this file.
Functions | |
void | solveLinear (const QVMatrix &A, QVVector &x, const QVVector &b) |
Solves a system of linear equations using a Householder transformation. | |
void | solveLinear (const QVMatrix &A, QVMatrix &X, const QVMatrix &B) |
Solves several system of linear equations, using a LU decomposition. | |
void | solveOverDetermined (const QVMatrix &A, QVMatrix &X, const QVMatrix &B) |
Solves several system of linear equations, using a SV decomposition. | |
void | solveHomogeneousLinear (const QVMatrix &A, QVector< double > &x) |
Solves an homogeneous linear system. | |
void | solveHomogeneousLinear2 (const QVMatrix &A, QVector< double > &x) |
void | singularValueDecomposition (const QVMatrix &M, QVMatrix &U, QVMatrix &V, QVMatrix &S) |
Obtains the singular value decomposition (SVD) for a matrix. | |
void | LUDecomposition (const QVMatrix &M, QVMatrix &L, QVMatrix &U, QVMatrix &P) |
Obtains the LU decomposition for a matrix. | |
void | CholeskyDecomposition (const QVMatrix &M, QVMatrix &L) |
Obtains the Cholesky decomposition for a matrix. | |
void | QRDecomposition (const QVMatrix &M, QVMatrix &Q, QVMatrix &R) |
Obtains the QR decomposition for a matrix. | |
QVMatrix | pseudoInverse (const QVMatrix &M) |
Obtains the pseudoinverse for a matrix. | |
double | determinant (const QVMatrix &M) |
Obtains the determinant of a squared matrix. | |
double | BhattacharyyaDistance (const QVVector &m1, const QVMatrix &S1, const QVVector &m2, const QVMatrix &S2) |
Obtains the Bhattacharyya distance of two gaussian distributions. | |
void | eigenDecomposition (const QVMatrix &M, QVVector &eigVals, QVMatrix &eigVecs) |
Obtains the eigendecomposition for a symetric matrix. | |
double | homogLineFromMoments (double x, double y, double xx, double xy, double yy, double &a, double &b, double &c) |
QVVector | regressionLine (const QVMatrix &points) |
Definition in file qvmatrixalgebra.cpp.
double homogLineFromMoments | ( | double | x, | |
double | y, | |||
double | xx, | |||
double | xy, | |||
double | yy, | |||
double & | a, | |||
double & | b, | |||
double & | c | |||
) |
Definition at line 437 of file qvmatrixalgebra.cpp.
Referenced by IterativePointElimination(), and regressionLine().
Definition at line 476 of file qvmatrixalgebra.cpp.
void solveHomogeneousLinear2 | ( | const QVMatrix & | A, | |
QVector< double > & | x | |||
) |