Om
1.0.0
A universal framework for multimedia simulation
|
#include <omMatrix.h>
Public Member Functions | |
Bool | solve (const Matrix< T > &A, Matrix< T > &Q, Matrix< T > &R) |
Factorize a matrix A into the product A = Q*R, where Q is orthornormal and R is upper-triangular. More... | |
Bool | solve (const Matrix< T > &A, Matrix< T > &Q, Matrix< T > &R, Matrix< Index > &permutation) |
Factorize a matrix A into the product A = Q*R, where Q is orthornormal and R is upper-triangular. More... | |
|
inline |
Factorize a matrix A into the product A = Q*R, where Q is orthornormal and R is upper-triangular.
The method computes the QR factorization without column pivoting.
|
inline |
Factorize a matrix A into the product A = Q*R, where Q is orthornormal and R is upper-triangular.
The method uses column pivoting to compute the QR factorization with improved robustness and numerical stability. The permutation of the columns of matrix A is returned, such that permutation(A) = Q*R.