NumPy-wrapper for dimensioned arrays.
Project description
Overview
Everyone knows you can't add apples and oranges.
Most people also know you can't add meters and seconds.
But sometimes people do—accidentally, when it's hidden in code or in matrix computations.
Models and algorithms with dimensional inconsistencies might still yield decent results, but they don't make physical sense, and a change of units results in a change to the output, when units shouldn't make a difference.
Software packages for managing dimensions already exist, but they lack the ability to do dimensioned linear algebra—they mostly just work with scalar values. So as a first go and a proof-of-concept, this package wraps NumPy and tracks physical dimensions of $n$-dimensional arrays using theory developed in the book Multidimensional Analysis (citation below).
Hart, G. W. (1995). Multidimensional Analysis: Algebras and Systems for Science and Engineering. Springer-Verlag.
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 multi_dimpy-0.2.4.tar.gz.
File metadata
- Download URL: multi_dimpy-0.2.4.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1df6d53cbfdfffbb5f9fa1a2f3db74777fd318e2393af6d2f700f8b6eeb8486
|
|
| MD5 |
d021b979eb1e67287630ea743eb50af5
|
|
| BLAKE2b-256 |
13496ee916cd8b388cf3d4f9be37e52217d4ce10066082a95eebea61953ba672
|
Provenance
The following attestation bundles were made for multi_dimpy-0.2.4.tar.gz:
Publisher:
publish.yml on schilln/multi-dimpy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
multi_dimpy-0.2.4.tar.gz -
Subject digest:
b1df6d53cbfdfffbb5f9fa1a2f3db74777fd318e2393af6d2f700f8b6eeb8486 - Sigstore transparency entry: 216057027
- Sigstore integration time:
-
Permalink:
schilln/multi-dimpy@dd83476f25c4327aa33babd9b3f9d6052de04d31 -
Branch / Tag:
refs/tags/0.2.4 - Owner: https://github.com/schilln
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@dd83476f25c4327aa33babd9b3f9d6052de04d31 -
Trigger Event:
release
-
Statement type:
File details
Details for the file multi_dimpy-0.2.4-py3-none-any.whl.
File metadata
- Download URL: multi_dimpy-0.2.4-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d153d6a4671351e14435cd7f8fd5bb82d383f03004a2d881bf63d4c95be08eb6
|
|
| MD5 |
c101fc4830bee222bfc8daf62afafa23
|
|
| BLAKE2b-256 |
b5a516dc9808135900bb932b40892c1bf9d357f31d10c607ef76c446de01bad4
|
Provenance
The following attestation bundles were made for multi_dimpy-0.2.4-py3-none-any.whl:
Publisher:
publish.yml on schilln/multi-dimpy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
multi_dimpy-0.2.4-py3-none-any.whl -
Subject digest:
d153d6a4671351e14435cd7f8fd5bb82d383f03004a2d881bf63d4c95be08eb6 - Sigstore transparency entry: 216057028
- Sigstore integration time:
-
Permalink:
schilln/multi-dimpy@dd83476f25c4327aa33babd9b3f9d6052de04d31 -
Branch / Tag:
refs/tags/0.2.4 - Owner: https://github.com/schilln
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@dd83476f25c4327aa33babd9b3f9d6052de04d31 -
Trigger Event:
release
-
Statement type: