One line updating of rows of a matrix

The loop @sijo wrote is much clearer and easier to read. Change the orientation to avoid transpose, use a loop, and stand up to your supervisor :wink: They will respect you more if you do :smiley:

3 Likes