|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
#include <lapack.h>
Public Member Functions | |
| void | operator() (const int m, const int n, T *A, const int lda) |
| Perform in-place QR factorization of a matrix using LAPACK's geqrf function. | |
| void container::kernels::lapack_geqrf_inplace< T, Device >::operator() | ( | const int | m, |
| const int | n, | ||
| T * | A, | ||
| const int | lda | ||
| ) |
Perform in-place QR factorization of a matrix using LAPACK's geqrf function.
This function computes the QR factorization of an m-by-n matrix A as A = Q * R, where Q is an orthogonal/unitary matrix and R is an upper triangular matrix. The factorization is performed in-place, meaning the input matrix A will be modified.
On exit: A is overwritten with the QR factorization Q orthogonal/unitary matrix
| m | The number of rows in the matrix A. m >= 0 |
| n | The number of columns in the matrix A. n >= 0 |
| A | Pointer to the matrix A to be factorized. On exit, contains the QR factorization |
| lda | The leading dimension of the matrix A. lda >= max(1, m) |