|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
#include <lapack.h>
Public Member Functions | |
| void | operator() (const char &trans, const int &n, const int &nrhs, T *A, const int &lda, const int *ipiv, T *B, const int &ldb) |
Perform QR factorization of a matrix using LAPACK's geqrf function.
| m | The number of rows in the matrix. |
| n | The number of columns in the matrix. |
| Mat | The matrix to be factorized. On exit, the upper triangle contains the upper triangular matrix R, and the elements below the diagonal, with the array TAU, represent the unitary matrix Q as a product of min(m,n) elementary reflectors. |
| lda | The leading dimension of the matrix. |
| tau | Array of size min(m,n) containing the Householder reflectors. |
| void container::kernels::lapack_getrs< T, Device >::operator() | ( | const char & | trans, |
| const int & | n, | ||
| const int & | nrhs, | ||
| T * | A, | ||
| const int & | lda, | ||
| const int * | ipiv, | ||
| T * | B, | ||
| const int & | ldb ) |