File tree Expand file tree Collapse file tree
lapack-netlib/LAPACKE/include Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212
1313#include < stdlib.h>
1414
15- #ifdef __cplusplus
16- extern " C" {
17- #endif
18-
19- /* ----------------------------------------------------------------------------*/
20- #ifndef lapack_int
21- #define lapack_int int
22- #endif
23-
24- #ifndef lapack_logical
25- #define lapack_logical lapack_int
26- #endif
27-
28- /* f2c, hence clapack and MacOS Accelerate, returns double instead of float
29- * for sdot, slange, clange, etc. */
30- #if defined(LAPACK_F2C)
31- typedef double lapack_float_return;
32- #else
33- typedef float lapack_float_return;
34- #endif
35-
3615/* Complex types are structures equivalent to the
3716* Fortran complex types COMPLEX(4) and COMPLEX(8).
3817*
@@ -88,6 +67,29 @@ extern "C" {
8867
8968#endif /* LAPACK_COMPLEX_CUSTOM */
9069
70+
71+ #ifdef __cplusplus
72+ extern " C" {
73+ #endif
74+
75+ /* ----------------------------------------------------------------------------*/
76+ #ifndef lapack_int
77+ #define lapack_int int
78+ #endif
79+
80+ #ifndef lapack_logical
81+ #define lapack_logical lapack_int
82+ #endif
83+
84+ /* f2c, hence clapack and MacOS Accelerate, returns double instead of float
85+ * for sdot, slange, clange, etc. */
86+ #if defined(LAPACK_F2C)
87+ typedef double lapack_float_return;
88+ #else
89+ typedef float lapack_float_return;
90+ #endif
91+
92+
9193/* Callback logical functions of one, two, or three arguments are used
9294* to select eigenvalues to sort to the top left of the Schur form.
9395* The value is selected if function returns TRUE (non-zero). */
You can’t perform that action at this time.
0 commit comments