News for hackers. Stuff that matters.
Re:Einstein Summation in Numpy by enriquto on Wednesday January 23, 2019 @08:37AM (#18977943)
What do you mean exactly? Can I do matrix products and slices without importing anything? Yes, that would solve the problem. But I do not think that this would be possible without major changes in the language itself.

This is not a library problem, it is a focus problem of the language. The language supports strings and dictionaries natively, as basic data types, but not numeric arrays.

Re:Einstein Summation in Numpy by hprotagonist on Wednesday January 23, 2019 @09:08AM (#18978184)
yes it does. nobody actually uses them, but a non-list ordered sequence of values is actually part of the library.

https://docs.python.org/3/library/array.html

Re:Einstein Summation in Numpy by stochastic_monk on Wednesday January 23, 2019 @12:43PM (#18980479)
For one-dimensional arrays, python's array can be faster. It's also directly accessible through the Python C API/Cython's wrapping of it, which makes it convenient to use.