|
|
@@ -37,14 +37,7 @@ |
|
|
|
*/ |
|
|
|
|
|
|
|
#ifndef LAPACK_COMPLEX_CUSTOM |
|
|
|
#if defined(_MSC_VER) |
|
|
|
#define _CRT_USE_C_COMPLEX_H |
|
|
|
#include <complex.h> |
|
|
|
#define LAPACK_COMPLEX_CUSTOM |
|
|
|
#define lapack_complex_float _Fcomplex |
|
|
|
#define lapack_complex_double _Dcomplex |
|
|
|
|
|
|
|
#else |
|
|
|
/* Complex type (single precision) */ |
|
|
|
#ifndef lapack_complex_float |
|
|
|
#ifndef __cplusplus |
|
|
@@ -81,7 +74,6 @@ |
|
|
|
#define lapack_complex_double_imag(z) (cimag(z)) |
|
|
|
#endif |
|
|
|
|
|
|
|
#endif |
|
|
|
#endif /* LAPACK_COMPLEX_CUSTOM */ |
|
|
|
|
|
|
|
|
|
|
|