eigen auto type deduction in general product
问题 I have the following piece of code (I apologize for the slightly larger code snippet, this is the minimal example I was able to reduce my problem to): #include <Eigen/Dense> #include <complex> #include <iostream> #include <typeinfo> // Dynamic Matrix over Scalar field template <typename Scalar> using DynMat = Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic>; // Dynamic column vector over Scalar field template <typename Scalar> using DynVect = Eigen::Matrix<Scalar, Eigen::Dynamic, 1>; //