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.3.tar.gz (55.9 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.3-py3-none-any.whl (34.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: unxts_linalg-2.0.3.tar.gz
  • Upload date:
  • Size: 55.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for unxts_linalg-2.0.3.tar.gz
Algorithm Hash digest
SHA256 8c745be6a4d4ed599159ea21c75ac0a6fcd9492ad687c30a585f7e9f2e59905a
MD5 7ad9c8f686a39f53c7dc82aef679a206
BLAKE2b-256 1ac4307dcab757c6ebc933b6f11c78aac1a98dd82f6b9b96839f1364cc12abb5

See more details on using hashes here.

Provenance

The following attestation bundles were made for unxts_linalg-2.0.3.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.3-py3-none-any.whl.

File metadata

  • Download URL: unxts_linalg-2.0.3-py3-none-any.whl
  • Upload date:
  • Size: 34.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for unxts_linalg-2.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 46181cf364dc8086ab066f178258f2a923ca7ea3460955c0b509e3883b160cfc
MD5 49ba53c3c6fead5a9693ce52be391367
BLAKE2b-256 117856ee7aa4159f24ed467034ce6514393758a2e5400f5212f0e357f1134f99

See more details on using hashes here.

Provenance

The following attestation bundles were made for unxts_linalg-2.0.3-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