2011-01-26 23:34:45 +08:00
|
|
|
// This file is part of Eigen, a lightweight C++ template library
|
|
|
|
// for linear algebra.
|
|
|
|
//
|
2014-10-17 21:31:11 +08:00
|
|
|
// Copyright (C) 2010-2014 Gael Guennebaud <gael.guennebaud@inria.fr>
|
2011-01-26 23:34:45 +08:00
|
|
|
//
|
2012-07-14 02:42:47 +08:00
|
|
|
// 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/.
|
2011-01-26 23:34:45 +08:00
|
|
|
|
|
|
|
#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;
|
|
|
|
|
2014-10-17 21:31:11 +08:00
|
|
|
#if ISCOMPLEX
|
|
|
|
#define EIGEN_LAPACK_ARG_IF_COMPLEX(X) X,
|
|
|
|
#else
|
|
|
|
#define EIGEN_LAPACK_ARG_IF_COMPLEX(X)
|
|
|
|
#endif
|
2011-01-26 23:34:45 +08:00
|
|
|
|
|
|
|
|
|
|
|
#endif // EIGEN_LAPACK_COMMON_H
|