Skip to main content

Neinsum (Named Einsum)

NumPy's Einsum, but with named subscripts.

Installation

pip install neinsum

Usage

import numpy as np
from neinsum import named_einsum

x = np.eye(3)
y = named_einsum("A_ij,B_kl")(A=x, B=x)

# this is equal to
z = np.einsum("ij,kl", x, x)

Metadata

Release files for neinsum 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for neinsum 1.0.2
File Size Uploaded
neinsum-1.0.2.tar.gz 4.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for neinsum 1.0.2
File Interpreter ABI Platform
neinsum-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 8.6 kB

Release files / neinsum-1.0.2.tar.gz

Download URL neinsum-1.0.2.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
65c21c026d68b3b137e04b56738ce20cf955a6f0db291172048dd08eb6d8bf76
BLAKE2b-256 checksum
How to use checksums
1e00331cac4f4b69efd230085f7bf36710e84e1a794d9d3ac077643fecfcdb18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / neinsum-1.0.2-py3-none-any.whl

Download URL neinsum-1.0.2-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b2c90c4d505cd67ffb61a29d51af9e96dc6a7c99dbd28a192db768df61cb2142
BLAKE2b-256 checksum
How to use checksums
0e16177bbd2fa4c7f8e99cb5a372168c379f3a10bc9e6d8246c677d402e9776a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.6

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page