mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
allow mixed complex-real and real-complex dot products
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user