diff options
| author | Maho Nakata <maho@FreeBSD.org> | 2011-02-17 00:47:57 +0000 |
|---|---|---|
| committer | Maho Nakata <maho@FreeBSD.org> | 2011-02-17 00:47:57 +0000 |
| commit | 030a58883dd93f685f770b8575eece2ed11c891c (patch) | |
| tree | 97bce7252c6cfac28a4cef402d1b8eee4c546d67 /math/lapacke/files/patch-include+lapacke.h | |
| parent | - also ignore .sample files as these can confuse plugins by overwriting values (diff) | |
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>
Diffstat (limited to 'math/lapacke/files/patch-include+lapacke.h')
| -rw-r--r-- | math/lapacke/files/patch-include+lapacke.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/math/lapacke/files/patch-include+lapacke.h b/math/lapacke/files/patch-include+lapacke.h new file mode 100644 index 000000000000..9c37f0029534 --- /dev/null +++ b/math/lapacke/files/patch-include+lapacke.h @@ -0,0 +1,20 @@ +--- 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 ); |
