diff options
author | Gael Guennebaud <g.gael@free.fr> | 2014-06-23 10:40:03 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2014-06-23 10:40:03 +0200 |
commit | 3849cc65ee2192ddd9d63cdc2e65cb74128bcbb3 (patch) | |
tree | 562f7a7eecfad04c93e3a734804c22c087b37ac9 /Eigen/src/Core/Transpose.h | |
parent | ec0a8b2e6dab9af4b4fc6c91d2ab7b01e47ea5ce (diff) |
Implement binaryop and transpose evaluators for sparse matrices
Diffstat (limited to 'Eigen/src/Core/Transpose.h')
-rw-r--r-- | Eigen/src/Core/Transpose.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/Eigen/src/Core/Transpose.h b/Eigen/src/Core/Transpose.h index 4b605dfd6..f5148221d 100644 --- a/Eigen/src/Core/Transpose.h +++ b/Eigen/src/Core/Transpose.h @@ -2,7 +2,7 @@ // for linear algebra. // // Copyright (C) 2006-2008 Benoit Jacob <jacob.benoit.1@gmail.com> -// Copyright (C) 2009-2010 Gael Guennebaud <gael.guennebaud@inria.fr> +// Copyright (C) 2009-2014 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 @@ -108,6 +108,17 @@ struct TransposeImpl_base<MatrixType, false> } // end namespace internal +#ifdef EIGEN_TEST_EVALUATORS +// Generic API dispatcher +template<typename XprType, typename StorageKind> +class TransposeImpl + : public internal::generic_xpr_base<Transpose<XprType> >::type +{ +public: + typedef typename internal::generic_xpr_base<Transpose<XprType> >::type Base; +}; +#endif + template<typename MatrixType> class TransposeImpl<MatrixType,Dense> : public internal::TransposeImpl_base<MatrixType>::type { |