ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
container::kernels::lapack_getrs< T, Device > Struct Template Reference

#include <lapack.h>

Collaboration diagram for container::kernels::lapack_getrs< T, Device >:

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)

Detailed Description

template<typename T, typename Device>
struct container::kernels::lapack_getrs< T, Device >

Perform QR factorization of a matrix using LAPACK's geqrf function.

Parameters
mThe number of rows in the matrix.
nThe number of columns in the matrix.
MatThe 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.
ldaThe leading dimension of the matrix.
tauArray of size min(m,n) containing the Householder reflectors.

Member Function Documentation

◆ operator()()

template<typename T, typename Device>
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 )

The documentation for this struct was generated from the following file: