routines for the QR factorization of matrices More...
Go to the source code of this file.
Namespaces | |
namespace | mth |
All MTH functions are contained in this namespace. | |
Functions | |
template<class T , unsigned M, unsigned N> | |
unsigned | mth::decomposeQR (Matrix< T, M, N > const &a, Matrix< T, M, M > &q, Matrix< T, M, N > &r) |
finds the QR decomposition of A | |
template<class T , unsigned M, unsigned N> | |
void | mth::backsubUT (Matrix< T, M, N > const &r, Vector< T, M > const &b, Vector< T, N > &x) |
solves Rx = b for upper triangular R | |
template<class T , unsigned M, unsigned N> | |
void | mth::solveFromQR (Matrix< T, M, M > const &q, Matrix< T, M, N > const &r, Vector< T, M > const &b, Vector< T, N > &x) |
solves Ax = b given A's QR factorization | |
template<class T , unsigned M, unsigned N> | |
bool | mth::solveQR (Matrix< T, M, N > const &a, Vector< T, M > const &b, Vector< T, N > &x) |
solves Ax = b using A's QR factorization | |
template<class T , unsigned M> | |
bool | mth::eigenQR (Matrix< T, M, M > const &a, Matrix< T, M, M > &l, Matrix< T, M, M > &q, unsigned max_iters) |
computes the eigendecomposition of A |
routines for the QR factorization of matrices
Definition in file mthQR.h.