|
45 | 45 | #ifdef __USE_SINGLE_PRECISION__ |
46 | 46 |
|
47 | 47 | /** Macro for calling level 3 BLAS operation in single precision. */ |
48 | | - #define GEMM sgemm_ |
| 48 | + #define GEMM qpoases_sgemm_ |
49 | 49 | /** Macro for calling level 3 BLAS operation in single precision. */ |
50 | | - #define SYR ssyr_ |
| 50 | + #define SYR qpoases_ssyr_ |
51 | 51 | /** Macro for calling level 3 BLAS operation in single precision. */ |
52 | | - #define SYR2 ssyr2_ |
| 52 | + #define SYR2 qpoases_ssyr2_ |
53 | 53 | /** Macro for calling level 3 BLAS operation in single precision. */ |
54 | | - #define POTRF spotrf_ |
| 54 | + #define POTRF qpoases_spotrf_ |
55 | 55 |
|
56 | 56 | #else |
57 | 57 |
|
58 | 58 | /** Macro for calling level 3 BLAS operation in double precision. */ |
59 | | - #define GEMM dgemm_ |
| 59 | + #define GEMM qpoases_dgemm_ |
60 | 60 | /** Macro for calling level 3 BLAS operation in double precision. */ |
61 | | - #define SYR dsyr_ |
| 61 | + #define SYR qpoases_dsyr_ |
62 | 62 | /** Macro for calling level 3 BLAS operation in double precision. */ |
63 | | - #define SYR2 dsyr2_ |
| 63 | + #define SYR2 qpoases_dsyr2_ |
64 | 64 | /** Macro for calling level 3 BLAS operation in double precision. */ |
65 | | - #define POTRF dpotrf_ |
| 65 | + #define POTRF qpoases_dpotrf_ |
66 | 66 |
|
67 | 67 | #endif /* __USE_SINGLE_PRECISION__ */ |
68 | 68 |
|
69 | 69 |
|
70 | 70 | extern "C" |
71 | 71 | { |
72 | 72 | /** Performs one of the matrix-matrix operation in double precision. */ |
73 | | - void dgemm_ ( const char*, const char*, const unsigned long*, const unsigned long*, const unsigned long*, |
| 73 | + void qpoases_dgemm_ ( const char*, const char*, const unsigned long*, const unsigned long*, const unsigned long*, |
74 | 74 | const double*, const double*, const unsigned long*, const double*, const unsigned long*, |
75 | 75 | const double*, double*, const unsigned long* ); |
76 | 76 | /** Performs one of the matrix-matrix operation in single precision. */ |
77 | | - void sgemm_ ( const char*, const char*, const unsigned long*, const unsigned long*, const unsigned long*, |
| 77 | + void qpoases_sgemm_ ( const char*, const char*, const unsigned long*, const unsigned long*, const unsigned long*, |
78 | 78 | const float*, const float*, const unsigned long*, const float*, const unsigned long*, |
79 | 79 | const float*, float*, const unsigned long* ); |
80 | 80 |
|
81 | 81 | /** Performs a symmetric rank 1 operation in double precision. */ |
82 | | - void dsyr_ ( const char *, const unsigned long *, const double *, const double *, |
| 82 | + void qpoases_dsyr_ ( const char *, const unsigned long *, const double *, const double *, |
83 | 83 | const unsigned long *, double *, const unsigned long *); |
84 | 84 | /** Performs a symmetric rank 1 operation in single precision. */ |
85 | | - void ssyr_ ( const char *, const unsigned long *, const float *, const float *, |
| 85 | + void qpoases_ssyr_ ( const char *, const unsigned long *, const float *, const float *, |
86 | 86 | const unsigned long *, float *, const unsigned long *); |
87 | 87 |
|
88 | 88 | /** Performs a symmetric rank 2 operation in double precision. */ |
89 | | - void dsyr2_ ( const char *, const unsigned long *, const double *, const double *, |
| 89 | + void qpoases_dsyr2_ ( const char *, const unsigned long *, const double *, const double *, |
90 | 90 | const unsigned long *, const double *, const unsigned long *, double *, const unsigned long *); |
91 | 91 | /** Performs a symmetric rank 2 operation in single precision. */ |
92 | | - void ssyr2_ ( const char *, const unsigned long *, const float *, const float *, |
| 92 | + void qpoases_ssyr2_ ( const char *, const unsigned long *, const float *, const float *, |
93 | 93 | const unsigned long *, const float *, const unsigned long *, float *, const unsigned long *); |
94 | 94 |
|
95 | 95 | /** Calculates the Cholesky factorization of a real symmetric positive definite matrix in double precision. */ |
96 | | - void dpotrf_ ( const char *, const unsigned long *, double *, const unsigned long *, long * ); |
| 96 | + void qpoases_dpotrf_ ( const char *, const unsigned long *, double *, const unsigned long *, long * ); |
97 | 97 | /** Calculates the Cholesky factorization of a real symmetric positive definite matrix in single precision. */ |
98 | | - void spotrf_ ( const char *, const unsigned long *, float *, const unsigned long *, long * ); |
| 98 | + void qpoases_spotrf_ ( const char *, const unsigned long *, float *, const unsigned long *, long * ); |
99 | 99 | } |
100 | 100 |
|
101 | 101 |
|
|
0 commit comments