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.
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.
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.