SCOREC core
Parallel unstructured mesh tools
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Namespaces | Functions
mthQR.h File Reference

routines for the QR factorization of matrices More...

Go to the source code of this file.

Namespaces

 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 More...
 
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 More...
 
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 More...
 
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 More...
 
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 More...
 

Detailed Description

routines for the QR factorization of matrices

Definition in file mthQR.h.