allow mixed complex-real and real-complex dot products

This commit is contained in:
Gael Guennebaud
2011-01-27 09:59:19 +01:00
parent fe3bb545e0
commit 0bfb78c824
5 changed files with 31 additions and 18 deletions

View File

@@ -202,10 +202,11 @@ template<typename Derived> class MatrixBase
#if EIGEN2_SUPPORT_STAGE != STAGE20_RESOLVE_API_CONFLICTS
template<typename OtherDerived>
typename internal::scalar_product_traits<typename internal::traits<Derived>::Scalar,typename internal::traits<OtherDerived>::Scalar>::ReturnType
#if EIGEN2_SUPPORT_STAGE == STAGE15_RESOLVE_API_CONFLICTS_WARN
EIGEN_DEPRECATED
EIGEN_DEPRECATED Scalar
#endif
Scalar dot(const MatrixBase<OtherDerived>& other) const;
dot(const MatrixBase<OtherDerived>& other) const;
#endif
#ifdef EIGEN2_SUPPORT