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