Skip to main content

An extension of np.einsum where capital letters serve as multiple ellipses.

Project description

keinsum

pypi python Coverage Badge Code style: black License

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.2.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

keinsum-0.2-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

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

Hashes for keinsum-0.2.tar.gz
Algorithm Hash digest
SHA256 41e65202934e5d6a1b561954c69f1a41ab8c9eff4619f04379a2e642d2648900
MD5 f2d0440736d2096a4b7ff2eaefcb6c15
BLAKE2b-256 d8d71d94a45490ba34a893dc5e373588de7e1493fac59312614a23d05df0b18f

See more details on using hashes here.

Provenance

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

Hashes for keinsum-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f705ae06cfaa8383453fd9e5fdaa1b50b81e8759200d37edca479f56badc676c
MD5 c00459817c0c1b7b263715d584516884
BLAKE2b-256 48406155d5fdf07a9d55caa1d1bba6c5bb006431dd6e4f57b79d54084ec362ad

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page