Skip to main content

unxts.linalg

Heterogeneous-unit matrices and vectors for unxt.

This is the canonical package (unxts.linalg). It provides QuantityMatrix (alias QM): a quantity container whose elements may each carry a different unit, together with a static UnitsMatrix unit structure and unit-aware linear-algebra primitives (det, inv, the matmul/matvec/vecmat/vecdot products, and Quax-registered add/sub, mul/div, matmul, transpose, diag, and reduce-sum rules).

Install

pip install unxts.linalg

Usage

import jax.numpy as jnp
import unxts.linalg as ul

qv = ul.QuantityMatrix(jnp.array([1.0, 2.0, 3.0]), unit=("m", "s", "kg"))

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

unxts_linalg-2.0.4.tar.gz (59.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

unxts_linalg-2.0.4-py3-none-any.whl (35.9 kB view details)

Uploaded Python 3

File details

Details for the file unxts_linalg-2.0.4.tar.gz.

File metadata

  • Download URL: unxts_linalg-2.0.4.tar.gz
  • Upload date:
  • Size: 59.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for unxts_linalg-2.0.4.tar.gz
Algorithm Hash digest
SHA256 e13c23b46429919f5bc4bf22655be6e3375afcfc28cf917977910c2760eb7c0b
MD5 bed128f65c61684bb3b3062c21975d03
BLAKE2b-256 7e5d8ce961bce94d27d9c2edd3ce9ca8531b1121436f095b0c3be5a8e276fd29

See more details on using hashes here.

Provenance

The following attestation bundles were made for unxts_linalg-2.0.4.tar.gz:

Publisher: cd-publish-unxts-linalg.yml on GalacticDynamics/unxt

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file unxts_linalg-2.0.4-py3-none-any.whl.

File metadata

  • Download URL: unxts_linalg-2.0.4-py3-none-any.whl
  • Upload date:
  • Size: 35.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for unxts_linalg-2.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b837161b05f9d0f3e3779e0140dd91a0f8407e8859249a938ac57829392b7939
MD5 ecb8a959cb6d2825cee7530bc93af8b8
BLAKE2b-256 eb56883884e2b32a5ed6a3613fe96017310f29abb78e383d2198128d875965a7

See more details on using hashes here.

Provenance

The following attestation bundles were made for unxts_linalg-2.0.4-py3-none-any.whl:

Publisher: cd-publish-unxts-linalg.yml on GalacticDynamics/unxt

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page