37 float lamch<float>(
char CMACH)
39 return slamch_ (&CMACH
40 #ifdef LAPACK_FORTRAN_STRLEN_END
48 double lamch<double>(
char CMACH)
50 return dlamch_ (&CMACH
51 #ifdef LAPACK_FORTRAN_STRLEN_END
58 MXLAPACK_INT potrf<float> (
char UPLO, MXLAPACK_INT N,
float * A, MXLAPACK_INT LDA, MXLAPACK_INT &INFO )
60 spotrf_(&UPLO, &N, A, &LDA, &INFO
61 #ifdef LAPACK_FORTRAN_STRLEN_END
70 MXLAPACK_INT potrf<double> (
char UPLO, MXLAPACK_INT N,
double * A, MXLAPACK_INT LDA, MXLAPACK_INT &INFO )
72 dpotrf_(&UPLO, &N, A, &LDA, &INFO
73 #ifdef LAPACK_FORTRAN_STRLEN_END
82 MXLAPACK_INT potrf<std::complex<float>> (
char UPLO, MXLAPACK_INT N, std::complex<float> * A, MXLAPACK_INT LDA, MXLAPACK_INT &INFO )
87 #ifdef LAPACK_FORTRAN_STRLEN_END
96 MXLAPACK_INT potrf<std::complex<double>> (
char UPLO, MXLAPACK_INT N, std::complex<double> * A, MXLAPACK_INT LDA, MXLAPACK_INT &INFO )
101 #ifdef LAPACK_FORTRAN_STRLEN_END
110 MXLAPACK_INT sytrd<float>(
char UPLO, MXLAPACK_INT N,
float * A, MXLAPACK_INT LDA,
float *D,
float *E,
float *TAU,
float *WORK, MXLAPACK_INT LWORK, MXLAPACK_INT INFO)
113 ssytrd_(&UPLO, &N, A, &LDA, D, E, TAU, WORK, &LWORK, &INFO
114 #ifdef LAPACK_FORTRAN_STRLEN_END
123 MXLAPACK_INT sytrd<double>(
char UPLO, MXLAPACK_INT N,
double * A, MXLAPACK_INT LDA,
double *D,
double *E,
double *TAU,
double *WORK, MXLAPACK_INT LWORK, MXLAPACK_INT INFO)
126 dsytrd_(&UPLO, &N, A, &LDA, D, E, TAU, WORK, &LWORK, &INFO
127 #ifdef LAPACK_FORTRAN_STRLEN_END
137 MXLAPACK_INT syevr<float> (
char JOBZ,
char RANGE,
char UPLO, MXLAPACK_INT N,
float *A, MXLAPACK_INT LDA,
float VL,
float VU,
138 MXLAPACK_INT IL, MXLAPACK_INT IU,
float ABSTOL, MXLAPACK_INT *M,
float *W,
float *Z, MXLAPACK_INT LDZ, MXLAPACK_INT *ISUPPZ,
139 float *WORK, MXLAPACK_INT LWORK, MXLAPACK_INT *IWORK, MXLAPACK_INT LIWORK )
144 ssyevr_ (&JOBZ, &RANGE, &UPLO, &N, A, &LDA, &VL, &VU,
145 &IL, &IU, &ABSTOL, M, W, Z, &LDZ, ISUPPZ,
146 WORK, &LWORK, IWORK, &LIWORK, &INFO
147 #ifdef LAPACK_FORTRAN_STRLEN_END
157 MXLAPACK_INT syevr<double> (
char JOBZ,
char RANGE,
char UPLO, MXLAPACK_INT N,
double *A, MXLAPACK_INT LDA,
double VL,
double VU,
158 MXLAPACK_INT IL, MXLAPACK_INT IU,
double ABSTOL, MXLAPACK_INT *M,
double *W,
double *Z, MXLAPACK_INT LDZ, MXLAPACK_INT *ISUPPZ,
159 double *WORK, MXLAPACK_INT LWORK, MXLAPACK_INT *IWORK, MXLAPACK_INT LIWORK )
164 dsyevr_ (&JOBZ, &RANGE, &UPLO, &N, A, &LDA, &VL, &VU,
165 &IL, &IU, &ABSTOL, M, W, Z, &LDZ, ISUPPZ,
166 WORK, &LWORK, IWORK, &LIWORK, &INFO
167 #ifdef LAPACK_FORTRAN_STRLEN_END
177 MXLAPACK_INT gesvd<float>(
char JOBU,
char JOBVT, MXLAPACK_INT M, MXLAPACK_INT N,
float * A, MXLAPACK_INT LDA,
float * S,
float *U, MXLAPACK_INT LDU,
178 float * VT, MXLAPACK_INT LDVT,
float * WORK, MXLAPACK_INT LWORK)
182 sgesvd_(&JOBU, &JOBVT, &M, &N, A, &LDA, S, U, &LDU,VT, &LDVT, WORK, &LWORK, &INFO
183 #ifdef LAPACK_FORTRAN_STRLEN_END
193 MXLAPACK_INT gesvd<double>(
char JOBU,
char JOBVT, MXLAPACK_INT M, MXLAPACK_INT N,
double * A, MXLAPACK_INT LDA,
double * S,
double *U, MXLAPACK_INT LDU,
194 double * VT, MXLAPACK_INT LDVT,
double * WORK, MXLAPACK_INT LWORK)
198 dgesvd_(&JOBU, &JOBVT, &M, &N, A, &LDA, S, U, &LDU,VT, &LDVT, WORK, &LWORK, &INFO
199 #ifdef LAPACK_FORTRAN_STRLEN_END
209 MXLAPACK_INT gesdd<float>(
char JOBZ, MXLAPACK_INT M, MXLAPACK_INT N,
float *A, MXLAPACK_INT LDA,
float *S,
float * U, MXLAPACK_INT LDU,
float * VT, MXLAPACK_INT LDVT,
float *WORK, MXLAPACK_INT LWORK, MXLAPACK_INT * IWORK, MXLAPACK_INT INFO)
211 sgesdd_(&JOBZ,&M,&N,A,&LDA,S,U,&LDU,VT,&LDVT,WORK,&LWORK,IWORK,&INFO
212 #ifdef LAPACK_FORTRAN_STRLEN_END
222 MXLAPACK_INT gesdd<double>(
char JOBZ, MXLAPACK_INT M, MXLAPACK_INT N,
double *A, MXLAPACK_INT LDA,
double *S,
double * U, MXLAPACK_INT LDU,
double * VT, MXLAPACK_INT LDVT,
double *WORK, MXLAPACK_INT LWORK, MXLAPACK_INT * IWORK, MXLAPACK_INT INFO)
224 dgesdd_(&JOBZ,&M,&N,A,&LDA,S,U,&LDU,VT,&LDVT,WORK,&LWORK,IWORK,&INFO
225 #ifdef LAPACK_FORTRAN_STRLEN_END
Declares and defines templatized wrappers for the Lapack library.