diff options
author | 2007-12-26 08:30:21 +0000 | |
---|---|---|
committer | 2007-12-26 08:30:21 +0000 | |
commit | 05a49547e155b85ff0a84c2e23ede166ca1ee179 (patch) | |
tree | 6e8d457bd2031debe304675bb183cc311e2f8f60 /Eigen/Core/Util.h | |
parent | dad245af56b4597f27d7c219e5f5f0b38cd62d24 (diff) |
in ScalarMultiple, make the factor type independent from the matrix scalar type.
This is an optimization for complex matrices, allowing to do only a real multiplication
when a complex multiplication is not needed, e.g. in normalized().
Diffstat (limited to 'Eigen/Core/Util.h')
-rw-r--r-- | Eigen/Core/Util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/Core/Util.h b/Eigen/Core/Util.h index c1576af00..0bccc1f75 100644 --- a/Eigen/Core/Util.h +++ b/Eigen/Core/Util.h @@ -97,7 +97,7 @@ template<typename MatrixType> class Opposite; template<typename Lhs, typename Rhs> class Sum; template<typename Lhs, typename Rhs> class Difference; template<typename Lhs, typename Rhs> class Product; -template<typename MatrixType> class ScalarMultiple; +template<typename FactorType, typename MatrixType> class ScalarMultiple; template<typename MatrixType> class Random; template<typename MatrixType> class Zero; template<typename MatrixType> class Ones; |