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.2.tar.gz (55.3 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.2-py3-none-any.whl (33.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: unxts_linalg-2.0.2.tar.gz
  • Upload date:
  • Size: 55.3 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.2.tar.gz
Algorithm Hash digest
SHA256 d2588f53e4b553ac7536265f24b1d89ab100272e2f878fb3132f9c7a6f1d304f
MD5 21aa296fab32e7e8acfee113516f7428
BLAKE2b-256 35e41a50488b8a4dde20240ab45a04007b96317f3ab7803e6db7c690519f1e58

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: unxts_linalg-2.0.2-py3-none-any.whl
  • Upload date:
  • Size: 33.9 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 886739d93e8243399190b49b8b8e5635320b722be306670e176c9d0a9b2f0572
MD5 939b574eef481f29a83af028579a22cb
BLAKE2b-256 1e7164b86013ad316d091e1cc0280c865476b064055697f3508b0470d5be530e

See more details on using hashes here.

Provenance

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