You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
849 B

  1. // This file is part of Eigen, a lightweight C++ template library
  2. // for linear algebra.
  3. //
  4. // Copyright (C) 2010-2014 Gael Guennebaud <gael.guennebaud@inria.fr>
  5. //
  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/.
  9. #ifndef EIGEN_LAPACK_COMMON_H
  10. #define EIGEN_LAPACK_COMMON_H
  11. #include "../blas/common.h"
  12. #define EIGEN_LAPACK_FUNC(FUNC,ARGLIST) \
  13. extern "C" { int EIGEN_BLAS_FUNC(FUNC) ARGLIST; } \
  14. int EIGEN_BLAS_FUNC(FUNC) ARGLIST
  15. typedef StormEigen::Map<StormEigen::Transpositions<Eigen::Dynamic,Eigen::Dynamic,int> > PivotsType;
  16. #if ISCOMPLEX
  17. #define EIGEN_LAPACK_ARG_IF_COMPLEX(X) X,
  18. #else
  19. #define EIGEN_LAPACK_ARG_IF_COMPLEX(X)
  20. #endif
  21. #endif // EIGEN_LAPACK_COMMON_H