anthony-nouy / tensap

Tensor Approximation Package: a Python package for the approximation of functions and tensors.
https://anthony-nouy.github.io/sphinx/tensap/master/
Other
20 stars 11 forks source link

Tiny updates for MultiIndices class #11

Closed Gjacquenot closed 4 years ago

Gjacquenot commented 4 years ago

This pull request updates class MultiIndices with two new methods : __radd__ and __rsub__: one does not create a new MultiIndices object when offsetting the content of array

Guillaume