geqp3.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_MATH_LAPACK_CLAPACK_GEQP3_H_
36 #define _BLAZE_MATH_LAPACK_CLAPACK_GEQP3_H_
37 
38 
39 //=================================================================================================
40 //
41 // LAPACK FORWARD DECLARATIONS
42 //
43 //=================================================================================================
44 
45 //*************************************************************************************************
47 extern "C" {
48 
49 void sgeqp3_( int* m, int* n, float* A, int* lda, int* jpvt, float* tau, float* work, int* lwork, int* info );
50 void dgeqp3_( int* m, int* n, double* A, int* lda, int* jpvt, double* tau, double* work, int* lwork, int* info );
51 
52 }
54 //*************************************************************************************************
55 
56 
57 
58 
59 namespace blaze {
60 
61 //=================================================================================================
62 //
63 // LAPACK QR DECOMPOSITION FUNCTIONS (GEQP3)
64 //
65 //=================================================================================================
66 
67 //*************************************************************************************************
70 inline void geqp3( int m, int n, float* A, int lda, int* jpvt, float* tau,
71  float* work, int lwork, int* info );
72 
73 inline void geqp3( int m, int n, double* A, int lda, int* jpvt, double* tau,
74  double* work, int lwork, int* info );
76 //*************************************************************************************************
77 
78 
79 //*************************************************************************************************
128 inline void geqp3( int m, int n, float* A, int lda, int* jpvt, float* tau,
129  float* work, int lwork, int* info )
130 {
131  sgeqp3_( &m, &n, A, &lda, jpvt, tau, work, &lwork, info );
132 }
133 //*************************************************************************************************
134 
135 
136 //*************************************************************************************************
185 inline void geqp3( int m, int n, double* A, int lda, int* jpvt, double* tau,
186  double* work, int lwork, int* info )
187 {
188  dgeqp3_( &m, &n, A, &lda, jpvt, tau, work, &lwork, info );
189 }
190 //*************************************************************************************************
191 
192 } // namespace blaze
193 
194 #endif
void geqp3(int m, int n, float *A, int lda, int *jpvt, float *tau, float *work, int lwork, int *info)
LAPACK kernel for the QR decomposition of the given dense single precision column-major matrix...
Definition: geqp3.h:128
Log level for high-level information.
Definition: LogLevel.h:80
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57