On the other hand
@tullio a[i] = b[i,j]*c[j]
is incredibly fast and easy to understand for one line of code (see the thread)
Mostly don’t write loops, let macros do that for you!
On the other hand
@tullio a[i] = b[i,j]*c[j]
is incredibly fast and easy to understand for one line of code (see the thread)
Mostly don’t write loops, let macros do that for you!