|
|
|
|
|
by WCSTombs
779 days ago
|
|
> imagine that instead of having axis names live as single-letter variables within einsum, our arrays themselves had these names attached to their axes? I already replied to a couple of other comments with this, but you're exactly describing the Python library Xarray: https://docs.xarray.dev/en/stable/ I've found it to work quite well in practice, and I've gotten a lot of mileage out of it in my work. |
|
But I do think it's fair to say they are in their infancy, and there is a missing theoretical framework to explain what is going on.
I anticipate name-free array programming will eventually be considered a historical curiosity for most purposes, and everyone will wonder how we put up without it for so long.