Element-wise multiplication of a vector and a matrix

That works as well :slight_smile:
I usually prefer the version with functions compared to advance indexing because I know when I get a view of the data and when I get a copy.