ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
Public Member Functions | List of all members
container::kernels::lapack_geqrf_inplace< T, Device > Struct Template Reference

#include <lapack.h>

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

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.
 

Member Function Documentation

◆ operator()()

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

Parameters
mThe number of rows in the matrix A. m >= 0
nThe number of columns in the matrix A. n >= 0
APointer to the matrix A to be factorized. On exit, contains the QR factorization
ldaThe leading dimension of the matrix A. lda >= max(1, m)

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