keinsum
An extension of np.einsum where capital letters serve as multiple ellipses, see Einsum Visualized for details.
Installation:
pip install keinsum
Usage
from keinsum import keinsum
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.
Metadata
Release files for keinsum 0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| keinsum-0.4.tar.gz | 2.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| keinsum-0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.1 kB
Release files / keinsum-0.4.tar.gz
| Download URL | keinsum-0.4.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7b26162d8dbc0e327d2733aa4156486035299cffb2c7828fc714b347d8cdee16
|
|
BLAKE2b-256 checksum How to use checksums |
da01742b4a6baeb222223139e628dfedc86306cc6fb549547a935828ff02ae1b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.1
|
Release files / keinsum-0.4-py3-none-any.whl
| Download URL | keinsum-0.4-py3-none-any.whl |
|---|---|
| Size | 2.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d51fa060e8625c61b9f122facc53dc3f096a2f16880b48c1cc4c7962a383d0e9
|
|
BLAKE2b-256 checksum How to use checksums |
f42832a398492a59dc6ce1156a59d18028d6ca4cb21b9ba7aade180fb67f4dc1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.1
|