Gael Guennebaud | 7ef9d82 | 2011-01-26 16:34:45 +0100 | [diff] [blame] | 1 | // This file is part of Eigen, a lightweight C++ template library |
| 2 | // for linear algebra. |
| 3 | // |
Gael Guennebaud | 8472e69 | 2014-10-17 15:31:11 +0200 | [diff] [blame] | 4 | // Copyright (C) 2010-2014 Gael Guennebaud <gael.guennebaud@inria.fr> |
Gael Guennebaud | 7ef9d82 | 2011-01-26 16:34:45 +0100 | [diff] [blame] | 5 | // |
Benoit Jacob | 69124cf | 2012-07-13 14:42:47 -0400 | [diff] [blame] | 6 | // This Source Code Form is subject to the terms of the Mozilla |
| 7 | // Public License v. 2.0. If a copy of the MPL was not distributed |
| 8 | // with this file, You can obtain one at http://mozilla.org/MPL/2.0/. |
Gael Guennebaud | 7ef9d82 | 2011-01-26 16:34:45 +0100 | [diff] [blame] | 9 | |
| 10 | #ifndef EIGEN_LAPACK_COMMON_H |
| 11 | #define EIGEN_LAPACK_COMMON_H |
| 12 | |
| 13 | #include "../blas/common.h" |
| 14 | |
| 15 | #define EIGEN_LAPACK_FUNC(FUNC,ARGLIST) \ |
| 16 | extern "C" { int EIGEN_BLAS_FUNC(FUNC) ARGLIST; } \ |
| 17 | int EIGEN_BLAS_FUNC(FUNC) ARGLIST |
| 18 | |
| 19 | typedef Eigen::Map<Eigen::Transpositions<Eigen::Dynamic,Eigen::Dynamic,int> > PivotsType; |
| 20 | |
Gael Guennebaud | 8472e69 | 2014-10-17 15:31:11 +0200 | [diff] [blame] | 21 | #if ISCOMPLEX |
| 22 | #define EIGEN_LAPACK_ARG_IF_COMPLEX(X) X, |
| 23 | #else |
| 24 | #define EIGEN_LAPACK_ARG_IF_COMPLEX(X) |
| 25 | #endif |
Gael Guennebaud | 7ef9d82 | 2011-01-26 16:34:45 +0100 | [diff] [blame] | 26 | |
| 27 | |
| 28 | #endif // EIGEN_LAPACK_COMMON_H |