dsharlet / array

C++ multidimensional arrays in the spirit of the STL
Apache License 2.0
198 stars 15 forks source link

Generalize einsum to ein_reduce #39

Closed dsharlet closed 4 years ago

dsharlet commented 4 years ago

This PR makes einsum just a special case of ein_reduce, which allows traversing arbitrary expressions with Einstein notation.