by fasterbynight · 5y ago · 0 comments
That said, matrix notation can sometimes be the more readable way of expressing a calculation.
Anyways, my point was more in response to this from the person I responded to: "my instinct is to look for opportunities to vectorize by rewriting loops into matrix notation on paper and then expressing them as array calculations". In some languages (Julia in particular) that is slower than the equivalent loop based code.