An extension of 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
keinsum-0.1.tar.gz
(2.5 kB
view details)
Built Distribution
keinsum-0.1-py3-none-any.whl
(2.4 kB
view details)
File details
Details for the file keinsum-0.1.tar.gz
.
File metadata
- Download URL: keinsum-0.1.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 | fc2d04a27b15c2fb8137302b6e5eea9a5e0d8ab128d98dc52cde33069d8f23ba |
|
MD5 | 80419c51dad1317bf42f640cd21074d7 |
|
BLAKE2b-256 | 8b5f8ada0779a237f5e8f017aed8792f7e9e67c73377d7f559c93c6f8cdfa610 |
Provenance
File details
Details for the file keinsum-0.1-py3-none-any.whl
.
File metadata
- Download URL: keinsum-0.1-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 | 24e8354e1efa943b32d05c8356fc5aacab878caabeb6f2249b9a20c8477b9558 |
|
MD5 | bd4ef12d0df08dab367a81f2c8e3496a |
|
BLAKE2b-256 | 1b07b0bb9694b11836fa50e01d1153902af929cff09ff793ffec2a039afbd236 |