35 #ifndef _BLAZE_MATH_LAPACK_CLAPACK_GESVD_H_ 36 #define _BLAZE_MATH_LAPACK_CLAPACK_GESVD_H_ 57 void sgesvd_(
char* jobu,
char* jobv,
int* m,
int* n,
float* A,
int* lda,
float* s,
float* U,
int* ldu,
float* V,
int* ldv,
float* work,
int* lwork,
int* info );
58 void dgesvd_(
char* jobu,
char* jobv,
int* m,
int* n,
double* A,
int* lda,
double* s,
double* U,
int* ldu,
double* V,
int* ldv,
double* work,
int* lwork,
int* info );
59 void cgesvd_(
char* jobu,
char* jobv,
int* m,
int* n,
float* A,
int* lda,
float* s,
float* U,
int* ldu,
float* V,
int* ldv,
float* work,
int* lwork,
float* rwork,
int* info );
60 void zgesvd_(
char* jobu,
char* jobv,
int* m,
int* n,
double* A,
int* lda,
double* s,
double* U,
int* ldu,
double* V,
int* ldv,
double* work,
int* lwork,
double* rwork,
int* info );
80 inline void gesvd(
char jobu,
char jobv,
int m,
int n,
float* A,
int lda,
81 float* s,
float* U,
int ldu,
float* V,
int ldv,
82 float* work,
int lwork,
int* info );
84 inline void gesvd(
char jobu,
char jobv,
int m,
int n,
double* A,
int lda,
85 double* s,
double* U,
int ldu,
double* V,
int ldv,
86 double* work,
int lwork,
int* info );
88 inline void gesvd(
char jobu,
char jobv,
int m,
int n, complex<float>* A,
int lda,
89 float* s, complex<float>* U,
int ldu, complex<float>* V,
int ldv,
90 complex<float>* work,
int lwork,
float* rwork,
int* info );
92 inline void gesvd(
char jobu,
char jobv,
int m,
int n, complex<double>* A,
int lda,
93 double* s, complex<double>* U,
int ldu, complex<double>* V,
int ldv,
94 complex<double>* work,
int lwork,
double* rwork,
int* info );
161 inline void gesvd(
char jobu,
char jobv,
int m,
int n,
float* A,
int lda,
162 float* s,
float* U,
int ldu,
float* V,
int ldv,
163 float* work,
int lwork,
int* info )
165 sgesvd_( &jobu, &jobv, &m, &n, A, &lda, s, U, &ldu, V, &ldv, work, &lwork, info );
232 inline void gesvd(
char jobu,
char jobv,
int m,
int n,
double* A,
int lda,
233 double* s,
double* U,
int ldu,
double* V,
int ldv,
234 double* work,
int lwork,
int* info )
236 dgesvd_( &jobu, &jobv, &m, &n, A, &lda, s, U, &ldu, V, &ldv, work, &lwork, info );
304 inline void gesvd(
char jobu,
char jobv,
int m,
int n, complex<float>* A,
int lda,
305 float* s, complex<float>* U,
int ldu, complex<float>* V,
int ldv,
306 complex<float>* work,
int lwork,
float* rwork,
int* info )
310 cgesvd_( &jobu, &jobv, &m, &n, reinterpret_cast<float*>( A ), &lda, s,
311 reinterpret_cast<float*>( U ), &ldu, reinterpret_cast<float*>( V ), &ldv,
312 reinterpret_cast<float*>( work ), &lwork, rwork, info );
380 inline void gesvd(
char jobu,
char jobv,
int m,
int n, complex<double>* A,
int lda,
381 double* s, complex<double>* U,
int ldu, complex<double>* V,
int ldv,
382 complex<double>* work,
int lwork,
double* rwork,
int* info )
386 zgesvd_( &jobu, &jobv, &m, &n, reinterpret_cast<double*>( A ), &lda, s,
387 reinterpret_cast<double*>( U ), &ldu, reinterpret_cast<double*>( V ), &ldv,
388 reinterpret_cast<double*>( work ), &lwork, rwork, info );
void gesvd(char jobu, char jobv, int m, int n, float *A, int lda, float *s, float *U, int ldu, float *V, int ldv, float *work, int lwork, int *info)
LAPACK kernel for the singular value decomposition (SVD) of the given dense general single precision ...
Definition: gesvd.h:161
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
Header file for the complex data type.
#define BLAZE_STATIC_ASSERT(expr)
Compile time assertion macro.In case of an invalid compile time expression, a compilation error is cr...
Definition: StaticAssert.h:112