Transpose the matrix. Use standard element-wise multiplication, and then transpose back. Should do the job
t(t(A)*v)
--
You received this message because you are subscribed to the Google Groups "Israel R User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to israel-r-user-g...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Yes. My mistake. No need to transpose, unless you want to work on columns rather than rows. I mixed things up.