|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
This is a wrapper of some LAPACK routines. Row-Major version. More...
#include <new>#include <stdexcept>#include <iostream>#include <cassert>#include "../matrix.h"#include "../complexmatrix.h"#include "../global_function.h"Go to the source code of this file.
Namespaces | |
| namespace | LapackConnector |
Functions | |
| void | dsygvd_ (const int *itype, const char *jobz, const char *uplo, const int *n, double *a, const int *lda, double *b, const int *ldb, double *w, double *work, const int *lwork, int *iwork, const int *liwork, int *info) |
| void | chegvd_ (const int *itype, const char *jobz, const char *uplo, const int *n, std::complex< float > *a, const int *lda, std::complex< float > *b, const int *ldb, float *w, std::complex< float > *work, const int *lwork, float *rwork, const int *lrwork, int *iwork, const int *liwork, int *info) |
| void | zhegvd_ (const int *itype, const char *jobz, const char *uplo, const int *n, std::complex< double > *a, const int *lda, std::complex< double > *b, const int *ldb, double *w, std::complex< double > *work, const int *lwork, double *rwork, const int *lrwork, int *iwork, const int *liwork, int *info) |
| void | dsyevx_ (const char *jobz, const char *range, const char *uplo, const int *n, double *a, const int *lda, const double *vl, const double *vu, const int *il, const int *iu, const double *abstol, int *m, double *w, double *z, const int *ldz, double *work, const int *lwork, int *iwork, int *ifail, int *info) |
| void | cheevx_ (const char *jobz, const char *range, const char *uplo, const int *n, std::complex< float > *a, const int *lda, const float *vl, const float *vu, const int *il, const int *iu, const float *abstol, int *m, float *w, std::complex< float > *z, const int *ldz, std::complex< float > *work, const int *lwork, float *rwork, int *iwork, int *ifail, int *info) |
| void | zheevx_ (const char *jobz, const char *range, const char *uplo, const int *n, std::complex< double > *a, const int *lda, const double *vl, const double *vu, const int *il, const int *iu, const double *abstol, int *m, double *w, std::complex< double > *z, const int *ldz, std::complex< double > *work, const int *lwork, double *rwork, int *iwork, int *ifail, int *info) |
| void | dsygvx_ (const int *itype, const char *jobz, const char *range, const char *uplo, const int *n, double *a, const int *lda, double *b, const int *ldb, const double *vl, const double *vu, const int *il, const int *iu, const double *abstol, int *m, double *w, double *z, const int *ldz, double *work, const int *lwork, int *iwork, int *ifail, int *info) |
| void | chegvx_ (const int *itype, const char *jobz, const char *range, const char *uplo, const int *n, std::complex< float > *a, const int *lda, std::complex< float > *b, const int *ldb, const float *vl, const float *vu, const int *il, const int *iu, const float *abstol, int *m, float *w, std::complex< float > *z, const int *ldz, std::complex< float > *work, const int *lwork, float *rwork, int *iwork, int *ifail, int *info) |
| void | zhegvx_ (const int *itype, const char *jobz, const char *range, const char *uplo, const int *n, std::complex< double > *a, const int *lda, std::complex< double > *b, const int *ldb, const double *vl, const double *vu, const int *il, const int *iu, const double *abstol, int *m, double *w, std::complex< double > *z, const int *ldz, std::complex< double > *work, const int *lwork, double *rwork, int *iwork, int *ifail, int *info) |
| void | dsygv_ (const int *itype, const char *jobz, const char *uplo, const int *n, double *a, const int *lda, double *b, const int *ldb, double *w, double *work, const int *lwork, int *info) |
| void | chegv_ (const int *itype, const char *jobz, const char *uplo, const int *n, std::complex< float > *a, const int *lda, std::complex< float > *b, const int *ldb, float *w, std::complex< float > *work, const int *lwork, float *rwork, int *info) |
| void | zhegv_ (const int *itype, const char *jobz, const char *uplo, const int *n, std::complex< double > *a, const int *lda, std::complex< double > *b, const int *ldb, double *w, std::complex< double > *work, const int *lwork, double *rwork, int *info) |
| void | dsyev_ (const char *jobz, const char *uplo, const int *n, double *a, const int *lda, double *w, double *work, const int *lwork, int *info) |
| void | cheev_ (const char *jobz, const char *uplo, const int *n, std::complex< float > *a, const int *lda, float *w, std::complex< float > *work, const int *lwork, float *rwork, int *info) |
| void | zheev_ (const char *jobz, const char *uplo, const int *n, std::complex< double > *a, const int *lda, double *w, std::complex< double > *work, const int *lwork, double *rwork, int *info) |
| void | dgeev_ (const char *jobvl, const char *jobvr, const int *n, double *a, const int *lda, double *wr, double *wi, double *vl, const int *ldvl, double *vr, const int *ldvr, double *work, const int *lwork, int *info) |
| void | zgeev_ (const char *jobvl, const char *jobvr, const int *n, std::complex< double > *a, const int *lda, std::complex< double > *w, std::complex< double > *vl, const int *ldvl, std::complex< double > *vr, const int *ldvr, std::complex< double > *work, const int *lwork, double *rwork, int *info) |
| void | dgetrf_ (const int *m, const int *n, double *a, const int *lda, int *ipiv, int *info) |
| void | dgetri_ (const int *n, double *a, const int *lda, const int *ipiv, double *work, const int *lwork, int *info) |
| void | dsytrf_ (const char *uplo, const int *n, double *a, const int *lda, int *ipiv, double *work, const int *lwork, int *info) |
| void | dsytri_ (const char *uplo, const int *n, double *a, const int *lda, const int *ipiv, double *work, int *info) |
| void | spotrf_ (const char *uplo, const int *n, float *a, const int *lda, int *info) |
| void | dpotrf_ (const char *uplo, const int *n, double *a, const int *lda, int *info) |
| void | cpotrf_ (const char *uplo, const int *n, std::complex< float > *a, const int *lda, int *info) |
| void | zpotrf_ (const char *uplo, const int *n, std::complex< double > *a, const int *lda, int *info) |
| void | spotri_ (const char *uplo, const int *n, float *a, const int *lda, int *info) |
| void | dpotri_ (const char *uplo, const int *n, double *a, const int *lda, int *info) |
| void | cpotri_ (const char *uplo, const int *n, std::complex< float > *a, const int *lda, int *info) |
| void | zpotri_ (const char *uplo, const int *n, std::complex< double > *a, const int *lda, int *info) |
| void | zgetrf_ (const int *m, const int *n, std::complex< double > *a, const int *lda, int *ipiv, int *info) |
| void | zgetri_ (const int *n, std::complex< double > *a, const int *lda, const int *ipiv, std::complex< double > *work, const int *lwork, int *info) |
| void | dsterf_ (const int *n, double *d, double *e, int *info) |
| void | dstein_ (const int *n, const double *d, const double *e, const int *m, const double *w, const int *iblock, const int *isplit, double *z, const int *ldz, double *work, int *iwork, int *ifail, int *info) |
| void | zstein_ (const int *n, const double *d, const double *e, const int *m, const double *w, const int *iblock, const int *isplit, std::complex< double > *z, const int *ldz, double *work, int *iwork, int *ifail, int *info) |
| void | dpotf2_ (const char *uplo, const int *n, double *a, const int *lda, int *info) |
| void | zpotf2_ (const char *uplo, const int *n, std::complex< double > *a, const int *lda, int *info) |
| void | dgtsv_ (const int *n, const int *nrhs, double *dl, double *d, double *du, double *b, const int *ldb, int *info) |
| void | dsysv_ (const char *uplo, const int *n, const int *nrhs, double *a, const int *lda, int *ipiv, double *b, const int *ldb, double *work, const int *lwork, int *info) |
This is a wrapper of some LAPACK routines. Row-Major version.
source/source_base/module_container/base/third_party/lapack.h.| void cheev_ | ( | const char * | jobz, |
| const char * | uplo, | ||
| const int * | n, | ||
| std::complex< float > * | a, | ||
| const int * | lda, | ||
| float * | w, | ||
| std::complex< float > * | work, | ||
| const int * | lwork, | ||
| float * | rwork, | ||
| int * | info | ||
| ) |
| void cheevx_ | ( | const char * | jobz, |
| const char * | range, | ||
| const char * | uplo, | ||
| const int * | n, | ||
| std::complex< float > * | a, | ||
| const int * | lda, | ||
| const float * | vl, | ||
| const float * | vu, | ||
| const int * | il, | ||
| const int * | iu, | ||
| const float * | abstol, | ||
| int * | m, | ||
| float * | w, | ||
| std::complex< float > * | z, | ||
| const int * | ldz, | ||
| std::complex< float > * | work, | ||
| const int * | lwork, | ||
| float * | rwork, | ||
| int * | iwork, | ||
| int * | ifail, | ||
| int * | info | ||
| ) |
| void chegv_ | ( | const int * | itype, |
| const char * | jobz, | ||
| const char * | uplo, | ||
| const int * | n, | ||
| std::complex< float > * | a, | ||
| const int * | lda, | ||
| std::complex< float > * | b, | ||
| const int * | ldb, | ||
| float * | w, | ||
| std::complex< float > * | work, | ||
| const int * | lwork, | ||
| float * | rwork, | ||
| int * | info | ||
| ) |
| void chegvd_ | ( | const int * | itype, |
| const char * | jobz, | ||
| const char * | uplo, | ||
| const int * | n, | ||
| std::complex< float > * | a, | ||
| const int * | lda, | ||
| std::complex< float > * | b, | ||
| const int * | ldb, | ||
| float * | w, | ||
| std::complex< float > * | work, | ||
| const int * | lwork, | ||
| float * | rwork, | ||
| const int * | lrwork, | ||
| int * | iwork, | ||
| const int * | liwork, | ||
| int * | info | ||
| ) |
| void chegvx_ | ( | const int * | itype, |
| const char * | jobz, | ||
| const char * | range, | ||
| const char * | uplo, | ||
| const int * | n, | ||
| std::complex< float > * | a, | ||
| const int * | lda, | ||
| std::complex< float > * | b, | ||
| const int * | ldb, | ||
| const float * | vl, | ||
| const float * | vu, | ||
| const int * | il, | ||
| const int * | iu, | ||
| const float * | abstol, | ||
| int * | m, | ||
| float * | w, | ||
| std::complex< float > * | z, | ||
| const int * | ldz, | ||
| std::complex< float > * | work, | ||
| const int * | lwork, | ||
| float * | rwork, | ||
| int * | iwork, | ||
| int * | ifail, | ||
| int * | info | ||
| ) |
| void cpotrf_ | ( | const char * | uplo, |
| const int * | n, | ||
| std::complex< float > * | a, | ||
| const int * | lda, | ||
| int * | info | ||
| ) |
| void cpotri_ | ( | const char * | uplo, |
| const int * | n, | ||
| std::complex< float > * | a, | ||
| const int * | lda, | ||
| int * | info | ||
| ) |
| void dgeev_ | ( | const char * | jobvl, |
| const char * | jobvr, | ||
| const int * | n, | ||
| double * | a, | ||
| const int * | lda, | ||
| double * | wr, | ||
| double * | wi, | ||
| double * | vl, | ||
| const int * | ldvl, | ||
| double * | vr, | ||
| const int * | ldvr, | ||
| double * | work, | ||
| const int * | lwork, | ||
| int * | info | ||
| ) |
| void dgetrf_ | ( | const int * | m, |
| const int * | n, | ||
| double * | a, | ||
| const int * | lda, | ||
| int * | ipiv, | ||
| int * | info | ||
| ) |
| void dgetri_ | ( | const int * | n, |
| double * | a, | ||
| const int * | lda, | ||
| const int * | ipiv, | ||
| double * | work, | ||
| const int * | lwork, | ||
| int * | info | ||
| ) |
| void dgtsv_ | ( | const int * | n, |
| const int * | nrhs, | ||
| double * | dl, | ||
| double * | d, | ||
| double * | du, | ||
| double * | b, | ||
| const int * | ldb, | ||
| int * | info | ||
| ) |
| void dpotf2_ | ( | const char * | uplo, |
| const int * | n, | ||
| double * | a, | ||
| const int * | lda, | ||
| int * | info | ||
| ) |
| void dpotrf_ | ( | const char * | uplo, |
| const int * | n, | ||
| double * | a, | ||
| const int * | lda, | ||
| int * | info | ||
| ) |
| void dpotri_ | ( | const char * | uplo, |
| const int * | n, | ||
| double * | a, | ||
| const int * | lda, | ||
| int * | info | ||
| ) |
| void dstein_ | ( | const int * | n, |
| const double * | d, | ||
| const double * | e, | ||
| const int * | m, | ||
| const double * | w, | ||
| const int * | iblock, | ||
| const int * | isplit, | ||
| double * | z, | ||
| const int * | ldz, | ||
| double * | work, | ||
| int * | iwork, | ||
| int * | ifail, | ||
| int * | info | ||
| ) |
| void dsterf_ | ( | const int * | n, |
| double * | d, | ||
| double * | e, | ||
| int * | info | ||
| ) |
| void dsyev_ | ( | const char * | jobz, |
| const char * | uplo, | ||
| const int * | n, | ||
| double * | a, | ||
| const int * | lda, | ||
| double * | w, | ||
| double * | work, | ||
| const int * | lwork, | ||
| int * | info | ||
| ) |
| void dsyevx_ | ( | const char * | jobz, |
| const char * | range, | ||
| const char * | uplo, | ||
| const int * | n, | ||
| double * | a, | ||
| const int * | lda, | ||
| const double * | vl, | ||
| const double * | vu, | ||
| const int * | il, | ||
| const int * | iu, | ||
| const double * | abstol, | ||
| int * | m, | ||
| double * | w, | ||
| double * | z, | ||
| const int * | ldz, | ||
| double * | work, | ||
| const int * | lwork, | ||
| int * | iwork, | ||
| int * | ifail, | ||
| int * | info | ||
| ) |
| void dsygv_ | ( | const int * | itype, |
| const char * | jobz, | ||
| const char * | uplo, | ||
| const int * | n, | ||
| double * | a, | ||
| const int * | lda, | ||
| double * | b, | ||
| const int * | ldb, | ||
| double * | w, | ||
| double * | work, | ||
| const int * | lwork, | ||
| int * | info | ||
| ) |
| void dsygvd_ | ( | const int * | itype, |
| const char * | jobz, | ||
| const char * | uplo, | ||
| const int * | n, | ||
| double * | a, | ||
| const int * | lda, | ||
| double * | b, | ||
| const int * | ldb, | ||
| double * | w, | ||
| double * | work, | ||
| const int * | lwork, | ||
| int * | iwork, | ||
| const int * | liwork, | ||
| int * | info | ||
| ) |
| void dsygvx_ | ( | const int * | itype, |
| const char * | jobz, | ||
| const char * | range, | ||
| const char * | uplo, | ||
| const int * | n, | ||
| double * | a, | ||
| const int * | lda, | ||
| double * | b, | ||
| const int * | ldb, | ||
| const double * | vl, | ||
| const double * | vu, | ||
| const int * | il, | ||
| const int * | iu, | ||
| const double * | abstol, | ||
| int * | m, | ||
| double * | w, | ||
| double * | z, | ||
| const int * | ldz, | ||
| double * | work, | ||
| const int * | lwork, | ||
| int * | iwork, | ||
| int * | ifail, | ||
| int * | info | ||
| ) |
| void dsysv_ | ( | const char * | uplo, |
| const int * | n, | ||
| const int * | nrhs, | ||
| double * | a, | ||
| const int * | lda, | ||
| int * | ipiv, | ||
| double * | b, | ||
| const int * | ldb, | ||
| double * | work, | ||
| const int * | lwork, | ||
| int * | info | ||
| ) |
| void dsytrf_ | ( | const char * | uplo, |
| const int * | n, | ||
| double * | a, | ||
| const int * | lda, | ||
| int * | ipiv, | ||
| double * | work, | ||
| const int * | lwork, | ||
| int * | info | ||
| ) |
| void dsytri_ | ( | const char * | uplo, |
| const int * | n, | ||
| double * | a, | ||
| const int * | lda, | ||
| const int * | ipiv, | ||
| double * | work, | ||
| int * | info | ||
| ) |
| void spotrf_ | ( | const char * | uplo, |
| const int * | n, | ||
| float * | a, | ||
| const int * | lda, | ||
| int * | info | ||
| ) |
| void spotri_ | ( | const char * | uplo, |
| const int * | n, | ||
| float * | a, | ||
| const int * | lda, | ||
| int * | info | ||
| ) |
| void zgeev_ | ( | const char * | jobvl, |
| const char * | jobvr, | ||
| const int * | n, | ||
| std::complex< double > * | a, | ||
| const int * | lda, | ||
| std::complex< double > * | w, | ||
| std::complex< double > * | vl, | ||
| const int * | ldvl, | ||
| std::complex< double > * | vr, | ||
| const int * | ldvr, | ||
| std::complex< double > * | work, | ||
| const int * | lwork, | ||
| double * | rwork, | ||
| int * | info | ||
| ) |
| void zgetrf_ | ( | const int * | m, |
| const int * | n, | ||
| std::complex< double > * | a, | ||
| const int * | lda, | ||
| int * | ipiv, | ||
| int * | info | ||
| ) |
| void zgetri_ | ( | const int * | n, |
| std::complex< double > * | a, | ||
| const int * | lda, | ||
| const int * | ipiv, | ||
| std::complex< double > * | work, | ||
| const int * | lwork, | ||
| int * | info | ||
| ) |
| void zheev_ | ( | const char * | jobz, |
| const char * | uplo, | ||
| const int * | n, | ||
| std::complex< double > * | a, | ||
| const int * | lda, | ||
| double * | w, | ||
| std::complex< double > * | work, | ||
| const int * | lwork, | ||
| double * | rwork, | ||
| int * | info | ||
| ) |
| void zheevx_ | ( | const char * | jobz, |
| const char * | range, | ||
| const char * | uplo, | ||
| const int * | n, | ||
| std::complex< double > * | a, | ||
| const int * | lda, | ||
| const double * | vl, | ||
| const double * | vu, | ||
| const int * | il, | ||
| const int * | iu, | ||
| const double * | abstol, | ||
| int * | m, | ||
| double * | w, | ||
| std::complex< double > * | z, | ||
| const int * | ldz, | ||
| std::complex< double > * | work, | ||
| const int * | lwork, | ||
| double * | rwork, | ||
| int * | iwork, | ||
| int * | ifail, | ||
| int * | info | ||
| ) |
| void zhegv_ | ( | const int * | itype, |
| const char * | jobz, | ||
| const char * | uplo, | ||
| const int * | n, | ||
| std::complex< double > * | a, | ||
| const int * | lda, | ||
| std::complex< double > * | b, | ||
| const int * | ldb, | ||
| double * | w, | ||
| std::complex< double > * | work, | ||
| const int * | lwork, | ||
| double * | rwork, | ||
| int * | info | ||
| ) |
| void zhegvd_ | ( | const int * | itype, |
| const char * | jobz, | ||
| const char * | uplo, | ||
| const int * | n, | ||
| std::complex< double > * | a, | ||
| const int * | lda, | ||
| std::complex< double > * | b, | ||
| const int * | ldb, | ||
| double * | w, | ||
| std::complex< double > * | work, | ||
| const int * | lwork, | ||
| double * | rwork, | ||
| const int * | lrwork, | ||
| int * | iwork, | ||
| const int * | liwork, | ||
| int * | info | ||
| ) |
| void zhegvx_ | ( | const int * | itype, |
| const char * | jobz, | ||
| const char * | range, | ||
| const char * | uplo, | ||
| const int * | n, | ||
| std::complex< double > * | a, | ||
| const int * | lda, | ||
| std::complex< double > * | b, | ||
| const int * | ldb, | ||
| const double * | vl, | ||
| const double * | vu, | ||
| const int * | il, | ||
| const int * | iu, | ||
| const double * | abstol, | ||
| int * | m, | ||
| double * | w, | ||
| std::complex< double > * | z, | ||
| const int * | ldz, | ||
| std::complex< double > * | work, | ||
| const int * | lwork, | ||
| double * | rwork, | ||
| int * | iwork, | ||
| int * | ifail, | ||
| int * | info | ||
| ) |
| void zpotf2_ | ( | const char * | uplo, |
| const int * | n, | ||
| std::complex< double > * | a, | ||
| const int * | lda, | ||
| int * | info | ||
| ) |
| void zpotrf_ | ( | const char * | uplo, |
| const int * | n, | ||
| std::complex< double > * | a, | ||
| const int * | lda, | ||
| int * | info | ||
| ) |
| void zpotri_ | ( | const char * | uplo, |
| const int * | n, | ||
| std::complex< double > * | a, | ||
| const int * | lda, | ||
| int * | info | ||
| ) |
| void zstein_ | ( | const int * | n, |
| const double * | d, | ||
| const double * | e, | ||
| const int * | m, | ||
| const double * | w, | ||
| const int * | iblock, | ||
| const int * | isplit, | ||
| std::complex< double > * | z, | ||
| const int * | ldz, | ||
| double * | work, | ||
| int * | iwork, | ||
| int * | ifail, | ||
| int * | info | ||
| ) |