freebsd-ports/math/lapacke/files/patch-include+lapacke.h
Maho Nakata 030a58883d LAPACKE is a standard C language APIs for LAPACK, which introduces
the following features[1]:
- row-major and column-major matrix layout controlled by the first function
parameter;
- an implementation with working arrays (middle-level interface) as well as
without working arrays (high-level interface);
- input scalars passed by value;
- error code as a return value instead of the INFO parameter.

[1] Intel Corporation. "C Interface to LAPACK" README. 2010.

WWW: http://www.netlib.org/lapack/

PR:             153045
Submitted by:   Eijiro Shibusawa <phd_kimberlite@yahoo.co.jp>
2011-02-17 00:47:57 +00:00

20 lines
636 B
C

--- include/lapacke.h.orig 2010-12-03 20:56:19.000000000 +0900
+++ include/lapacke.h 2010-12-03 20:56:59.000000000 +0900
@@ -84,7 +84,7 @@
#endif
#ifndef lapack_complex_float_imag
-#define lapack_complex_float_imag(z) (imag(z))
+#define lapack_complex_float_imag(z) (cimag(z))
#endif
lapack_complex_float lapack_make_complex_float( float re, float im );
@@ -100,7 +100,7 @@
#endif
#ifndef lapack_complex_double_imag
-#define lapack_complex_double_imag(z) (imag(z))
+#define lapack_complex_double_imag(z) (cimag(z))
#endif
lapack_complex_double lapack_make_complex_double( double re, double im );