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.1.tar.gz (55.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.1-py3-none-any.whl (33.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: unxts_linalg-2.0.1.tar.gz
  • Upload date:
  • Size: 55.0 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.1.tar.gz
Algorithm Hash digest
SHA256 ff20b4240968a0db685b0e10d20dbeaf2539093344d8bee91c25de06f121834f
MD5 082bacdc7d4dd48cb43f6248d4059e59
BLAKE2b-256 a8a26fdab6f4069684a3f1d31f1832a1798d8cac25da6444bd8315618267d4ec

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: unxts_linalg-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 33.7 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 54d216c4b00de17b79fef29a7cee9b04becfa63d1b4f3a62a8b9f129409daf30
MD5 3da1251eb9e6b3fd17243f1da2ab35fc
BLAKE2b-256 2dd12a79a8cffc9a90d3514c203b588042485df4b071a6423e886f626a131a36

See more details on using hashes here.

Provenance

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