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.0.tar.gz (52.5 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.0-py3-none-any.whl (32.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: unxts_linalg-2.0.0.tar.gz
  • Upload date:
  • Size: 52.5 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.0.tar.gz
Algorithm Hash digest
SHA256 58d53df1208af6122345fc1d2cde53374792e4e9327d29c418bb46e47c5abd70
MD5 d8c5396779a3cd112d9a175bf604a65f
BLAKE2b-256 d70e20f9a383700ed87968bc72cfcaec06721c2e067c1c66326c899b50e7235d

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: unxts_linalg-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 32.3 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3a00f2df54cb8bd74c21fc0d9c006f9f8a2eeb0d8791e8e775a66131c8e24036
MD5 2eb2b67460974a02d61bf0b75888c1c1
BLAKE2b-256 1b70069302fe8ea5f3bb9068c27642f453677326f3b1cb2e84aceef5de1f2868

See more details on using hashes here.

Provenance

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