Hello!

Just wondering if there is a way to do a rowwise add between matrix and vector?

For example, I have a (a,b) matrix M and a (1,b) vector V, and I want to have V added to every row in M.

This is
M.rowwise() += V;

in Eigen.

Many thanks!
Matthew
------------------------------------------------------------------------------
_______________________________________________
ViennaCL-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/viennacl-support

Reply via email to