36 #ifndef MADNESS_LINALG_CLAPACK_FORTRAN_H__INCLUDED
37 #define MADNESS_LINALG_CLAPACK_FORTRAN_H__INCLUDED
44 #ifdef FORTRAN_LINKAGE_LC
45 # define sgesvd_ sgesvd
46 # define dgesvd_ dgesvd
47 # define cgesvd_ cgesvd
48 # define zgesvd_ zgesvd
55 # define sgelss_ sgelss
56 # define dgelss_ dgelss
57 # define cgelss_ cgelss
58 # define zgelss_ zgelss
75 #ifndef MADNESS_HAS_ELEMENTAL
82 # define spotrf_ spotrf
83 # define cpotrf_ cpotrf
84 # define dpotrf_ dpotrf
85 # define zpotrf_ zpotrf
87 # define sgetrf_ sgetrf
88 # define cgetrf_ cgetrf
89 # define dgetrf_ dgetrf
90 # define zgetrf_ zgetrf
92 # define sgetri_ sgetri
93 # define cgetri_ cgetri
94 # define dgetri_ dgetri
95 # define zgetri_ zgetri
100 # define ztrsm_ ztrsm
102 # define dlamch_ dlamch
103 # define slamch_ slamch
105 # define sgeev_ sgeev
106 # define cgeev_ cgeev
107 # define dgeev_ dgeev
108 # define zgeev_ zgeev
112 # ifndef FORTRAN_LINKAGE_LCU
113 # error "clapack.h does not support the current Fortran symbol convention -- please, edit and check in the changes."
125 double dlamch_(
const char* mode,
int modelen);
513 void strsm_(
const char* side,
const char* uplo,
const char* transa,
const char* diag,
518 void dtrsm_(
const char* side,
const char* uplo,
const char* transa,
const char* diag,
523 void ctrsm_(
const char* side,
const char* uplo,
const char* transa,
const char* diag,
528 void ztrsm_(
const char* side,
const char* uplo,
const char* transa,
const char* diag,
double w(double t, double eps)
Definition: DKops.h:22
void sgeqrf_(integer *m, integer *n, real4 *a, integer *lda, real4 *tau, real4 *work, integer *lwork, integer *infoOUT)
void sgeev_(const char *jobz, const char *uplo, integer *n, real4 *a, integer *lda, real4 *w_real, real4 *w_imag, real4 *v, integer *ldv, real4 *vr, integer *ldvr, real4 *work, integer *lwork, integer *info, char_len jobzlen, char_len uplo_len)
void cgeqrf_(integer *m, integer *n, complex_real4 *a, integer *lda, complex_real4 *tau, complex_real4 *work, integer *lwork, integer *infoOUT)
void cgesvd_(const char *jobu, const char *jobvt, integer *m, integer *n, complex_real4 *a, integer *lda, real4 *s, complex_real4 *u, integer *ldu, complex_real4 *vt, integer *ldvt, complex_real4 *work, integer *lwork, real4 *rwork, integer *info, char_len jobulen, char_len jobvtlen)
void dgelss_(integer *m, integer *n, integer *nrhs, real8 *a, integer *lda, real8 *b, integer *ldb, real8 *sOUT, real8 *rcondIN, integer *rankOUT, real8 *work, integer *lwork, integer *infoOUT)
void sgeqp3_(integer *m, integer *n, real4 *a, integer *lda, integer *jpvt, real4 *tau, real4 *work, integer *lwork, integer *infoOUT)
void dgels_(const char *trans, integer *m, integer *n, integer *nrhs, real8 *a, integer *lda, real8 *b, integer *ldb, real8 *work, integer *lwork, integer *infoOUT, char_len translen)
void zgeev_(const char *jobz, const char *uplo, integer *n, complex_real8 *a, integer *lda, complex_real8 *w, complex_real8 *vl, integer *ldvl, complex_real8 *vr, integer *ldvr, complex_real8 *work, integer *lwork, real8 *rwork, integer *info, char_len jobzlen, char_len uplo_len)
void dsyev_(const char *jobz, const char *uplo, integer *n, real8 *a, integer *lda, real8 *w, real8 *work, integer *lwork, integer *info, char_len jobzlen, char_len uplo_len)
void dsygv_(integer *itype, const char *jobz, const char *uplo, integer *n, real8 *a, integer *lda, real8 *b, integer *ldb, real8 *w, real8 *work, integer *lwork, integer *info, char_len jobzlen, char_len uplo_len)
void zggev_(const char *jobz, const char *uplo, integer *n, complex_real8 *a, integer *lda, complex_real8 *b, integer *ldb, complex_real8 *alpha, complex_real8 *beta, complex_real8 *vl, integer *ldvl, complex_real8 *vr, integer *ldvr, complex_real8 *work, integer *lwork, real8 *rwork, integer *info, char_len jobzlen, char_len uplo_len)
void ctrtri_(const char *uplo, const char *diag, const integer *n, const complex_real4 *a, const integer *lda, integer *info)
void spstrf_(const char *uplo, const integer *n, real4 *a, const integer *lda, integer *ipiv, integer *rank, real4 *tol, real4 *work, integer *info)
void cungqr_(integer *m, integer *n, integer *k, complex_real4 *a, integer *lda, complex_real4 *tau, complex_real4 *work, integer *lwork, integer *info)
void cpotrf_(const char *uplo, const integer *n, complex_real4 *a, const integer *lda, integer *info, char_len uplo_len)
void sgelss_(integer *m, integer *n, integer *nrhs, real4 *a, integer *lda, real4 *b, integer *ldb, real4 *sOUT, real4 *rcondIN, integer *rankOUT, real4 *work, integer *lwork, integer *infoOUT)
void dgesv_(integer *n, integer *nrhs, real8 *AT, integer *lda, integer *piv, real8 *x, integer *ldx, integer *info)
double dlamch_(const char *mode, int modelen)
void ctrsm_(const char *side, const char *uplo, const char *transa, const char *diag, const integer *m, const integer *n, const complex_real4 *alpha, const complex_real4 *a, const integer *lda, complex_real4 *b, const integer *ldb, char_len sidelen, char_len uplolen, char_len transalen, char_len diaglen)
void sggev_(const char *jobz, const char *uplo, integer *n, real4 *a, integer *lda, real4 *b, integer *ldb, real4 *alphar, real4 *alphai, real4 *beta, real4 *vl, integer *ldvl, real4 *vr, integer *ldvr, real4 *work, integer *lwork, integer *info, char_len jobzlen, char_len uplo_len)
void zgesv_(integer *n, integer *nrhs, complex_real8 *AT, integer *lda, integer *piv, complex_real8 *x, integer *ldx, integer *info)
void sgesvd_(const char *jobu, const char *jobvt, integer *m, integer *n, real4 *a, integer *lda, real4 *s, real4 *u, integer *ldu, real4 *vt, integer *ldvt, real4 *work, integer *lwork, integer *info, char_len jobulen, char_len jobvtlen)
void zpotrf_(const char *uplo, const integer *n, complex_real8 *a, const integer *lda, integer *info, char_len uplo_len)
void cgetrf_(const integer *m, const integer *n, complex_real4 *a, const integer *lda, integer *ipiv, integer *info)
void zungqr_(integer *m, integer *n, integer *k, complex_real8 *a, integer *lda, complex_real8 *tau, complex_real8 *work, integer *lwork, integer *info)
void cgelss_(integer *m, integer *n, integer *nrhs, complex_real4 *a, integer *lda, complex_real4 *b, integer *ldb, real4 *sOUT, real4 *rcondIN, integer *rankOUT, complex_real4 *work, integer *lwork, real4 *rwork, integer *infoOUT)
void zgetri_(const integer *n, complex_real8 *a, const integer *lda, const integer *ipiv, complex_real8 *work, const integer *lwork, integer *info)
void zhegv_(integer *itype, const char *jobz, const char *uplo, integer *n, complex_real8 *a, integer *lda, complex_real8 *b, integer *ldb, real8 *w, complex_real8 *work, integer *lwork, real8 *rwork, integer *info, char_len jobzlen, char_len uplo_len)
void ssygv_(integer *itype, const char *jobz, const char *uplo, integer *n, real4 *a, integer *lda, real4 *b, integer *ldb, real4 *w, real4 *work, integer *lwork, integer *info, char_len jobzlen, char_len uplo_len)
float slamch_(const char *mode, int modelen)
void cgetri_(const integer *n, complex_real4 *a, const integer *lda, const integer *ipiv, complex_real4 *work, const integer *lwork, integer *info)
void sgetrf_(const integer *m, const integer *n, real4 *a, const integer *lda, integer *ipiv, integer *info)
void dtrsm_(const char *side, const char *uplo, const char *transa, const char *diag, const integer *m, const integer *n, const real8 *alpha, const real8 *a, const integer *lda, real8 *b, const integer *ldb, char_len sidelen, char_len uplolen, char_len transalen, char_len diaglen)
void cheev_(const char *jobz, const char *uplo, integer *n, complex_real4 *a, integer *lda, real4 *w, complex_real4 *work, integer *lwork, real4 *rwork, integer *info, char_len jobzlen, char_len uplo_len)
void dgeqrf_(integer *m, integer *n, real8 *a, integer *lda, real8 *tau, real8 *work, integer *lwork, integer *infoOUT)
void cggev_(const char *jobz, const char *uplo, integer *n, complex_real4 *a, integer *lda, complex_real4 *b, integer *ldb, complex_real4 *alpha, complex_real4 *beta, complex_real4 *vl, integer *ldvl, complex_real4 *vr, integer *ldvr, complex_real4 *work, integer *lwork, real4 *rwork, integer *info, char_len jobzlen, char_len uplo_len)
void zgeqrf_(integer *m, integer *n, complex_real8 *a, integer *lda, complex_real8 *tau, complex_real8 *work, integer *lwork, integer *infoOUT)
void cgeev_(const char *jobz, const char *uplo, integer *n, complex_real4 *a, integer *lda, complex_real4 *w, complex_real4 *vl, integer *ldvl, complex_real4 *vr, integer *ldvr, complex_real4 *work, integer *lwork, real4 *rwork, integer *info, char_len jobzlen, char_len uplo_len)
void dgetri_(const integer *n, real8 *a, const integer *lda, const integer *ipiv, real8 *work, const integer *lwork, integer *info)
void zgesvd_(const char *jobu, const char *jobvt, integer *m, integer *n, complex_real8 *a, integer *lda, real8 *s, complex_real8 *u, integer *ldu, complex_real8 *vt, integer *ldvt, complex_real8 *work, integer *lwork, real8 *rwork, integer *info, char_len jobulen, char_len jobvtlen)
void dorgqr_(integer *m, integer *n, integer *k, real8 *a, integer *lda, real8 *tau, real8 *work, integer *lwork, integer *info)
void dpstrf_(const char *uplo, const integer *n, real8 *a, const integer *lda, integer *ipiv, integer *rank, real8 *tol, real8 *work, integer *info)
void dgeqp3_(integer *m, integer *n, real8 *a, integer *lda, integer *jpvt, real8 *tau, real8 *work, integer *lwork, integer *infoOUT)
void dtrtri_(const char *uplo, const char *diag, const integer *n, const real8 *a, const integer *lda, integer *info)
void zheev_(const char *jobz, const char *uplo, integer *n, complex_real8 *a, integer *lda, real8 *w, complex_real8 *work, integer *lwork, real8 *rwork, integer *info, char_len jobzlen, char_len uplo_len)
void zpstrf_(const char *uplo, const integer *n, complex_real8 *a, const integer *lda, integer *ipiv, integer *rank, real8 *tol, complex_real8 *work, integer *info)
void dgesvd_(const char *jobu, const char *jobvt, integer *m, integer *n, real8 *a, integer *lda, real8 *s, real8 *u, integer *ldu, real8 *vt, integer *ldvt, real8 *work, integer *lwork, integer *info, char_len jobulen, char_len jobvtlen)
void cpstrf_(const char *uplo, const integer *n, complex_real4 *a, const integer *lda, integer *ipiv, integer *rank, real4 *tol, complex_real4 *work, integer *info)
void ztrsm_(const char *side, const char *uplo, const char *transa, const char *diag, const integer *m, const integer *n, const complex_real8 *alpha, const complex_real8 *a, const integer *lda, complex_real8 *b, const integer *ldb, char_len sidelen, char_len uplolen, char_len transalen, char_len diaglen)
void sgetri_(const integer *n, real4 *a, const integer *lda, const integer *ipiv, real4 *work, const integer *lwork, integer *info)
void spotrf_(const char *uplo, const integer *n, real4 *a, const integer *lda, integer *info, char_len uplo_len)
void zgels_(const char *trans, integer *m, integer *n, integer *nrhs, complex_real8 *a, integer *lda, complex_real8 *b, integer *ldb, complex_real8 *work, integer *lwork, real8 *rwork, integer *infoOUT, char_len translen)
void strtri_(const char *uplo, const char *diag, const integer *n, const real4 *a, const integer *lda, integer *info)
void cgels_(const char *trans, integer *m, integer *n, integer *nrhs, complex_real4 *a, integer *lda, complex_real4 *b, integer *ldb, complex_real4 *work, integer *lwork, real4 *rwork, integer *infoOUT, char_len translen)
void zgelss_(integer *m, integer *n, integer *nrhs, complex_real8 *a, integer *lda, complex_real8 *b, integer *ldb, real8 *sOUT, real8 *rcondIN, integer *rankOUT, complex_real8 *work, integer *lwork, real8 *rwork, integer *infoOUT)
void dpotrf_(const char *uplo, const integer *n, real8 *a, const integer *lda, integer *info, char_len uplo_len)
void sgesv_(integer *n, integer *nrhs, real4 *AT, integer *lda, integer *piv, real4 *x, integer *ldx, integer *info)
void cgeqp3_(integer *m, integer *n, complex_real4 *a, integer *lda, integer *jpvt, complex_real4 *tau, complex_real4 *work, integer *lwork, real4 *rwork, integer *infoOUT)
void cgesv_(integer *n, integer *nrhs, complex_real4 *AT, integer *lda, integer *piv, complex_real4 *x, integer *ldx, integer *info)
void dgeev_(const char *jobz, const char *uplo, integer *n, real8 *a, integer *lda, real8 *w_real, real8 *w_imag, real8 *v, integer *ldv, real8 *vr, integer *ldvr, real8 *work, integer *lwork, integer *info, char_len jobzlen, char_len uplo_len)
void zgeqp3_(integer *m, integer *n, complex_real8 *a, integer *lda, integer *jpvt, complex_real8 *tau, complex_real8 *work, integer *lwork, real8 *rwork, integer *infoOUT)
void ssyev_(const char *jobz, const char *uplo, integer *n, real4 *a, integer *lda, real4 *w, real4 *work, integer *lwork, integer *info, char_len jobzlen, char_len uplo_len)
void sorgqr_(integer *m, integer *n, integer *k, real4 *a, integer *lda, real4 *tau, real4 *work, integer *lwork, integer *info)
void zgetrf_(const integer *m, const integer *n, complex_real8 *a, const integer *lda, integer *ipiv, integer *info)
void strsm_(const char *side, const char *uplo, const char *transa, const char *diag, const integer *m, const integer *n, const real4 *alpha, const real4 *a, const integer *lda, real4 *b, const integer *ldb, char_len sidelen, char_len uplolen, char_len transalen, char_len diaglen)
void chegv_(integer *itype, const char *jobz, const char *uplo, integer *n, complex_real4 *a, integer *lda, complex_real4 *b, integer *ldb, real4 *w, complex_real4 *work, integer *lwork, real4 *rwork, integer *info, char_len jobzlen, char_len uplo_len)
void dgetrf_(const integer *m, const integer *n, real8 *a, const integer *lda, integer *ipiv, integer *info)
void sgels_(const char *trans, integer *m, integer *n, integer *nrhs, real4 *a, integer *lda, real4 *b, integer *ldb, real4 *work, integer *lwork, integer *infoOUT, char_len translen)
void ztrtri_(const char *uplo, const char *diag, const integer *n, const complex_real8 *a, const integer *lda, integer *info)
void dggev_(const char *jobl, const char *jobr, integer *n, real8 *a, integer *lda, real8 *b, integer *ldb, real8 *w_real, real8 *w_imag, real8 *beta, real8 *vl, integer *ldvl, real8 *vr, integer *ldvr, real8 *work, integer *lwork, integer *info, char_len jobzlen, char_len uplo_len)
int integer
Definition: crayio.c:25
Correspondence between C++ and Fortran types.
std::complex< double > complex_real8
Fortran double complex.
Definition: fortran_ctypes.h:83
std::complex< float > complex_real4
Fortran single complex.
Definition: fortran_ctypes.h:88
int char_len
Type of variable appended to argument list for length of fortran character strings.
Definition: fortran_ctypes.h:93
double real8
Fortran double precision.
Definition: fortran_ctypes.h:73
float real4
Fortran single precision.
Definition: fortran_ctypes.h:78
const double m
Definition: gfit.cc:199
const double beta
Definition: gygi_soltion.cc:62
static const double v
Definition: hatom_sf_dirac.cc:20
static const double b
Definition: nonlinschro.cc:119
static const double a
Definition: nonlinschro.cc:118
static const long k
Definition: rk.cc:44
const double alpha
Definition: test_coulomb.cc:54
double u(const double x, const double expnt)
Definition: testperiodic.cc:56