An extension of np.einsum where capital letters serve as multiple ellipses.
Project description
keinsum
An extension of np.einsum where capital letters serve as multiple ellipses, see Einsum Visualized for details.
Installation:
pip install keinsum
Usage
keinsum('Ik,kJ', a, b) is the same as np.einsum('ijk,klm', a, b) where a and b are 3D arrays.
Testing
Run pytest in the project root.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file keinsum-0.2.tar.gz.
File metadata
- Download URL: keinsum-0.2.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41e65202934e5d6a1b561954c69f1a41ab8c9eff4619f04379a2e642d2648900
|
|
| MD5 |
f2d0440736d2096a4b7ff2eaefcb6c15
|
|
| BLAKE2b-256 |
d8d71d94a45490ba34a893dc5e373588de7e1493fac59312614a23d05df0b18f
|
File details
Details for the file keinsum-0.2-py3-none-any.whl.
File metadata
- Download URL: keinsum-0.2-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f705ae06cfaa8383453fd9e5fdaa1b50b81e8759200d37edca479f56badc676c
|
|
| MD5 |
c00459817c0c1b7b263715d584516884
|
|
| BLAKE2b-256 |
48406155d5fdf07a9d55caa1d1bba6c5bb006431dd6e4f57b79d54084ec362ad
|