• YetiBeets@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 days ago

    Along the same vein, could we just move entirely to Einstein summation? It seems like your solution is 90% there.

    I assume there is a good reason why you didn’t

    • dynomight@lemmy.worldOPM
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 days ago

      Well, Einstein summation is good, but it only does multiplication and sums. (Or, more generally, some scalar operation and some scalar reduction.) I want a notation that works for ANY type of operation, including non-scalar ones, and that’s what DumPy does. So I’d argue it moves further than Einstein summation.