News for hackers. Stuff that matters.
Re:Einstein Summation in Numpy by mcabbott on Wednesday January 23, 2019 @01:30PM (#18981055)
I guess lots of things distinguish rows & columns which, for complex numbers, you can think of as up & downstairs -- rows are conjugated. But otherwise everybody seems to live in flat space.

If you had reason to do so, it would be easy to bolt something onto the front of @tensor etc. which understood say A^[i]_[j] * B^[j,k] . Something similar would not be so hard to do to np.einsum either, just messing with the string... it could take exactly your "email Latex notation". In fact I'm a bit surprised that I can't find someone who's done this, in a few minutes' googling. I did find that opt-einsum has a notation in which the indices at least follow the array:

https://optimized-einsum.readthedocs.io/en/latest/input_form...

Re:Einstein Summation in Numpy by BlackFly on Monday January 28, 2019 @10:17AM (#19018028)
Flat space and cartesian coordinates with a couple of known exceptions is the norm (we do use some curvilinear coordinates where some differential geometry methods are not necessary but can be illuminating).

You have honestly piqued my curiosity towards Julia. I will need to find an opportunity to dig in.