![]() |
Bachelor's degree final project
v1.0
Faculty of Mathematics, University of Barcelona
|
Defines | |
#define | _OPENMP_QR_DIMENSION 1e2 |
Minimum value for using the openmp library in QR decomposition. | |
Functions | |
void | premult_Q_vector (size_t m, size_t n, double **const QR, double *const b) |
Compute ![]() ![]() ![]() | |
void * | qr (size_t m, size_t n, double **const A, double **const QR) |
Compute the QR factorization of a matrix m-by-n. |
#define _OPENMP_QR_DIMENSION 1e2 |
Minimum value for using the openmp library in QR decomposition.
void premult_Q_vector | ( | size_t | m, |
size_t | n, | ||
double **const | QR, | ||
double *const | b | ||
) |
Compute where
and
are respectively m-by-1 and m-by-m matrixs.
[in] | m | Rows of linear system's matrix |
[in] | n | Columns of linear system's matrix |
[in] | QR | Householder vector of dimension n |
[in,out] | b | Vector m-dimensional where will be saved the result |
References pic::n.
void* qr | ( | size_t | m, |
size_t | n, | ||
double **const | A, | ||
double **const | QR | ||
) |
Compute the QR factorization of a matrix m-by-n.
[in] | m | Rows |
[in] | n | Columns |
[in] | A | Matrix m-by-n where will be computed QR factorization |
[out] | QR | Matrix m-by-n where has been computed QR factorization |
NULL | If the memory can not be allocated |
0 | If some error ocurred and number of columns where has been applied the decomposition in QR |
References householder_matrix(), premult_matrix(), and pic::w.