Complex rowwise()/colwise() do not work with scalar vectors.
Describe the feature you would like to be implemented.
Eigen::Matrix4cd mc;
Eigen::Matrix4d m;
Eigen::Vector4d v;
mc.array().rowwise() * v.array().transpose(); // Doesn't work, same for colwise
m.array().rowwise() * v.array().transpose(); // Works
for (int r = 0; r < mc.rows(); ++r)
mc.array().row(r) * v.array().transpose(); // Works
Would such a feature be useful for other users? Why?
It's an operation that is already possible, but for some reason rowwise does not apply to it. The same is true for colwise.
Any hints on how to implement the requested feature?
I'm not familiar with that part of the codebase unfortunately. Hopefully it's just a matter of allowing the product operator of the complex rowwise/colwise types to accept a scalar.
Edited by Eugenio Bargiacchi