tinyarray 1.1.0
Arrays of numbers for Python, optimized for small sizes
Tinyarrays are similar to NumPy arrays, but optimized for small sizes. Common operations on very small arrays are to 3-7 times faster than with NumPy (with NumPy 1.6 it used to be up to 35 times), and 3 times less memory is used to store them. Tinyarrays are useful if you need many small arrays of numbers, and cannot combine them into a few large ones. (The resulting code is still much slower than C, but it may now be fast enough.)
Unlike Python’s built-in tuples, Tinyarrays support mathematical operations like element-wise addition and matrix multiplication. Unlike Numpy arrays, Tinyarrays can be used as dictionary keys because they are hashable and immutable.
The module’s interface is a subset of that of NumPy and thus should be familiar to many. Whenever an operation is missing from Tinyarray, NumPy functions can be used directly with Tinyarrays.
| File | Type | Py Version | Uploaded on | Size | |
|---|---|---|---|---|---|
| tinyarray-1.1.0.tar.gz (md5, pgp) | Source | 2015-12-01 | 30KB | ||
- Author: Christoph Groth (CEA) and others
- Home Page: https://gitlab.kwant-project.org/kwant/tinyarray
- Download URL: http://downloads.kwant-project.org/tinyarray/
- License: Simplified BSD license
- Platform: Unix,Linux,Mac OS-X,Windows
-
Categories
- Development Status :: 5 - Production/Stable
- Intended Audience :: Developers
- Intended Audience :: Science/Research
- License :: OSI Approved :: BSD License
- Operating System :: MacOS
- Operating System :: Microsoft :: Windows
- Operating System :: POSIX
- Operating System :: Unix
- Programming Language :: C++
- Programming Language :: Python :: 2
- Programming Language :: Python :: 3
- Topic :: Scientific/Engineering
- Topic :: Software Development
- Package Index Owner: cwg
- DOAP record: tinyarray-1.1.0.xml
