2 ms·
If I understand correctly what is meant by rank polymorphism, it is not just about speed, but about ergonomics. Taking examples I am familiar w/, it is key tha
by cdavid 1y ago
If I understand correctly what is meant by rank polymorphism, it is not just about speed, but about ergonomics.
Taking examples I am familiar w/, it is key that you can add a scalar 1 to a rank 2 array in numpy/matllab without having to explicitly create a rank 2 array of 1s, and numpy somehow generalizes that (broadcasting). I understand other array programming languages have more advanced/generic versions of broadcasting, but I am not super familiar w/ them