Julia vs NumPy broadcasting

Since your arrays have dimension 4, everything will be much faster if you use StaticArrays.jl

6 Likes