add *, /, *=, /= to VectorwiseOp
Submitted by Evan Herbst
Assigned to Nobody
Link to original bugzilla bug (#157)
Description
They make sense at least for Array.
What I want to do is divide each row of rho by its sum:
MatrixXf rho(n, m), r(n, m);
r = rho.array().colwise() / rho.rowwise().sum().array();
and I don't see how to do it without a loop.
Thanks.
Edited by Eigen Bugzilla