Hacker News new | ask | show | jobs
by gknoy 3942 days ago
I believe it would be in Matlab, as [1, 2] + [3, 4] would be considered matrix addition, in which one adds elements in corresponding places. Numpy (as mentioned in the GP) probably does similar.
1 comments

Ah, ok, thanks. Right, matrix math is is the use case I was looking for.