diff options
Diffstat (limited to 'eigen/lapack/lapack_common.h')
-rw-r--r-- | eigen/lapack/lapack_common.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/eigen/lapack/lapack_common.h b/eigen/lapack/lapack_common.h new file mode 100644 index 0000000..e558c14 --- /dev/null +++ b/eigen/lapack/lapack_common.h @@ -0,0 +1,23 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2010-2011 Gael Guennebaud <gael.guennebaud@inria.fr> +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_LAPACK_COMMON_H +#define EIGEN_LAPACK_COMMON_H + +#include "../blas/common.h" + +#define EIGEN_LAPACK_FUNC(FUNC,ARGLIST) \ + extern "C" { int EIGEN_BLAS_FUNC(FUNC) ARGLIST; } \ + int EIGEN_BLAS_FUNC(FUNC) ARGLIST + +typedef Eigen::Map<Eigen::Transpositions<Eigen::Dynamic,Eigen::Dynamic,int> > PivotsType; + + + +#endif // EIGEN_LAPACK_COMMON_H |