aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/util/MKL_support.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2016-04-11 16:09:29 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2016-04-11 16:09:29 +0200
commit097d1e8823629f14f8cc57ab065e7ab6fb653d0f (patch)
tree2f79881f823951e8f2299bdc4d69ff4be23dcf72 /Eigen/src/Core/util/MKL_support.h
parentfec4c334bac76bfabd14168bf0ac668402f551a7 (diff)
Cleanup obsolete assign_scalar_eig2mkl helper.
Diffstat (limited to 'Eigen/src/Core/util/MKL_support.h')
-rw-r--r--Eigen/src/Core/util/MKL_support.h40
1 files changed, 0 insertions, 40 deletions
diff --git a/Eigen/src/Core/util/MKL_support.h b/Eigen/src/Core/util/MKL_support.h
index 382014e66..bf47a626b 100644
--- a/Eigen/src/Core/util/MKL_support.h
+++ b/Eigen/src/Core/util/MKL_support.h
@@ -119,46 +119,6 @@ typedef int BlasIndex;
typedef MKL_INT BlasIndex;
#endif
-namespace internal {
-
-template<typename MKLType, typename EigenType>
-static inline void assign_scalar_eig2mkl(MKLType& mklScalar, const EigenType& eigenScalar) {
- mklScalar=eigenScalar;
-}
-
-template<typename MKLType, typename EigenType>
-static inline void assign_conj_scalar_eig2mkl(MKLType& mklScalar, const EigenType& eigenScalar) {
- mklScalar=eigenScalar;
-}
-
-#ifdef EIGEN_USE_MKL
-template <>
-inline void assign_scalar_eig2mkl<MKL_Complex16,dcomplex>(MKL_Complex16& mklScalar, const dcomplex& eigenScalar) {
- mklScalar.real=eigenScalar.real();
- mklScalar.imag=eigenScalar.imag();
-}
-
-template <>
-inline void assign_scalar_eig2mkl<MKL_Complex8,scomplex>(MKL_Complex8& mklScalar, const scomplex& eigenScalar) {
- mklScalar.real=eigenScalar.real();
- mklScalar.imag=eigenScalar.imag();
-}
-
-template <>
-inline void assign_conj_scalar_eig2mkl<MKL_Complex16,dcomplex>(MKL_Complex16& mklScalar, const dcomplex& eigenScalar) {
- mklScalar.real=eigenScalar.real();
- mklScalar.imag=-eigenScalar.imag();
-}
-
-template <>
-inline void assign_conj_scalar_eig2mkl<MKL_Complex8,scomplex>(MKL_Complex8& mklScalar, const scomplex& eigenScalar) {
- mklScalar.real=eigenScalar.real();
- mklScalar.imag=-eigenScalar.imag();
-}
-#endif
-
-} // end namespace internal
-
} // end namespace Eigen
#if defined(EIGEN_USE_BLAS) && !defined(EIGEN_USE_MKL)