30 int* ldz,
float* work,
int* info)
33 lapack_sstev(jobz, n, d, e, z, ldz, work, info);
47 int* ldz,
double* work,
int* info)
68 long double* e,
long double* z,
int* ldz,
69 long double* work,
int* info)
75 double *d_ =
new double[(*n)];
76 for (
int i=0; i < (*n); ++i)
78 d_[i] =
static_cast<double>(d[i]);
82 double *e_ =
new double[(*n)-1];
83 for (
int i=0; i < (*n)-1; ++i)
85 e_[i] =
static_cast<double>(e[i]);
89 double *z_ =
new double[(*ldz)*(*n)];
90 double *work_ =
new double[2*(*n)-2];
96 for (
int i=0; i < (*n); ++i)
98 d[i] =
static_cast<long double>(d_[i]);
102 for (
int i=0; i < (*ldz)*(*n); ++i)
104 z[i] =
static_cast<long double>(z_[i]);
125 float* u,
int* ldu,
float* vt,
int* ldvt,
float* q,
126 int* iq,
float* work,
int* iwork,
int* info)
128 lapack_sbdsdc(uplo, compq, n, d, e, u, ldu, vt, ldvt, q, iq, work, iwork,
143 double *e,
double* u,
int* ldu,
double* vt,
144 int* ldvt,
double* q,
int* iq,
double* work,
145 int* iwork,
int* info)
147 lapack_dbdsdc(uplo, compq, n, d, e, u, ldu, vt, ldvt, q, iq, work, iwork,
167 long double* d,
long double *e,
long double* u,
168 int* ldu,
long double* vt,
int* ldvt,
169 long double* q,
int* iq,
long double* work,
170 int* iwork,
int* info)
177 double *d_ =
new double[(*n)];
178 for (
int i=0; i < (*n); ++i)
180 d_[i] =
static_cast<double>(d[i]);
184 double *e_ =
new double[(*n)-1];
185 for (
int i=0; i < (*n)-1; ++i)
187 e_[i] =
static_cast<double>(e[i]);
191 double *u_ =
new double[(*ldu)*(*n)];
192 double *vt_ =
new double[(*ldvt)*(*n)];
196 double *work_ =
new double[3*(*n)*(*n) + 4*(*n)];
199 lapack_dbdsdc(uplo, compq, n, d_, e_, u_, ldu, vt_, ldvt, q_, iq, work_,
203 for (
int i=0; i < (*n); ++i)
205 d[i] =
static_cast<long double>(d_[i]);
209 for (
int i=0; i < (*ldu)*(*n); ++i)
211 u[i] =
static_cast<long double>(u_[i]);
214 for (
int i=0; i < (*ldvt)*(*n); ++i)
216 vt[i] =
static_cast<long double>(vt_[i]);
void lapack_xstev< float >(char *jobz, int *n, float *d, float *e, float *z, int *ldz, float *work, int *info)
Overlodng wrapper for both lapack_sstev (a float function) and lapack_dstev (a double function)....
void lapack_xbdsdc< long double >(char *uplo, char *compq, int *n, long double *d, long double *e, long double *u, int *ldu, long double *vt, int *ldvt, long double *q, int *iq, long double *work, int *iwork, int *info)
Overlodng wrapper for both lapack_sbdsdc (a double function) and lapack_dbdsdc (a double function)....
void lapack_xbdsdc< double >(char *uplo, char *compq, int *n, double *d, double *e, double *u, int *ldu, double *vt, int *ldvt, double *q, int *iq, double *work, int *iwork, int *info)
Overlodng wrapper for both lapack_sbdsdc (a double function) and lapack_dbdsdc (a double function)....
void lapack_xbdsdc< float >(char *uplo, char *compq, int *n, float *d, float *e, float *u, int *ldu, float *vt, int *ldvt, float *q, int *iq, float *work, int *iwork, int *info)
Overlodng wrapper for both lapack_sbdsdc (a float function) and lapack_dbdsdc (a double function)....
void lapack_xstev< double >(char *jobz, int *n, double *d, double *e, double *z, int *ldz, double *work, int *info)
Overlodng wrapper for both lapack_sstev (a float function) and lapack_dstev (a double function)....
void lapack_xstev< long double >(char *jobz, int *n, long double *d, long double *e, long double *z, int *ldz, long double *work, int *info)
Overlodng wrapper for both lapack_sstev (a float function) and lapack_dstev (a double function)....
void lapack_sbdsdc(char *uplo, char *compq, int *n, float *d, float *e, float *u, int *ldu, float *vt, int *ldvt, float *q, int *iq, float *work, int *iwork, int *info)
void lapack_dstev(char *jobz, int *n, double *d, double *e, double *z, int *ldz, double *work, int *info)
void lapack_dbdsdc(char *uplo, char *compq, int *n, double *d, double *e, double *u, int *ldu, double *vt, int *ldvt, double *q, int *iq, double *work, int *iwork, int *info)