1 #ifndef TH_GENERIC_FILE 2 #define TH_GENERIC_FILE "TH/generic/THLapack.h" 6 TH_API
void THLapack_(gels)(
char trans,
int m,
int n,
int nrhs, scalar_t *a,
int lda, scalar_t *b,
int ldb, scalar_t *work,
int lwork,
int *info);
8 TH_API
void THLapack_(syev)(
char jobz,
char uplo,
int n, scalar_t *a,
int lda, scalar_t *w, scalar_t *work,
int lwork,
int *info);
10 TH_API
void THLapack_(geev)(
char jobvl,
char jobvr,
int n, scalar_t *a,
int lda, scalar_t *wr, scalar_t *wi, scalar_t* vl,
int ldvl, scalar_t *vr,
int ldvr, scalar_t *work,
int lwork,
int *info);
12 TH_API
void THLapack_(gesdd)(
char jobz,
int m,
int n, scalar_t *a,
int lda, scalar_t *s, scalar_t *u,
int ldu, scalar_t *vt,
int ldvt, scalar_t *work,
int lwork,
int *iwork,
int *info);
14 TH_API
void THLapack_(getrf)(
int m,
int n, scalar_t *a,
int lda,
int *ipiv,
int *info);
15 TH_API
void THLapack_(getrs)(
char trans,
int n,
int nrhs, scalar_t *a,
int lda,
int *ipiv, scalar_t *b,
int ldb,
int *info);
17 TH_API
void THLapack_(getri)(
int n, scalar_t *a,
int lda,
int *ipiv, scalar_t *work,
int lwork,
int* info);
21 TH_API
void THLapack_(potri)(
char uplo,
int n, scalar_t *a,
int lda,
int *info);
23 TH_API
void THLapack_(pstrf)(
char uplo,
int n, scalar_t *a,
int lda,
int *piv,
int *rank, scalar_t tol, scalar_t *work,
int *info);
26 TH_API
void THLapack_(geqrf)(
int m,
int n, scalar_t *a,
int lda, scalar_t *tau, scalar_t *work,
int lwork,
int *info);
28 TH_API
void THLapack_(orgqr)(
int m,
int n,
int k, scalar_t *a,
int lda, scalar_t *tau, scalar_t *work,
int lwork,
int *info);
30 TH_API
void THLapack_(ormqr)(
char side,
char trans,
int m,
int n,
int k, scalar_t *a,
int lda, scalar_t *tau, scalar_t *c,
int ldc, scalar_t *work,
int lwork,
int *info);