Skip to main content

numga

CI

Geometric algebra with extensors in NumPy, JAX, PyTorch and WebGPU.

Extensors generalize matrices and tensors from vectors to multivectors, and from the inner and tensor products to every product of geometric algebra.

Gravitational waves Open in Colab
Crystals of atoms ringing as a gravitational wave passes, seen from inside a closed universe whose great circles are strung with its mesh's vertices
Snowflake thermodynamics Open in Colab
A seed of ice in undercooled water growing into a six-armed dendrite
Scenegraph and camera optics Open in Colab
A robot arm in 3D, and its picture on a camera sensor
Spin reversal by rolling contact Open in Colab
A wooden rattleback spun the wrong way, rocking, stopping and spinning back
Summing cones into splats Open in Colab
Cameras aligning on a scene
Quantized vortices in a Bose–Einstein condensate Open in Colab
A rotating condensate settling into a lattice of quantized vortices

Explore live: a rotating black hole · a gravitational wave

Extensors

An introduction to extensors, and a gallery of what they do: from a robot arm and its camera to a snowflake, a dynamo and a closed universe, each example a picture and the few lines of extensor code that compute it.

A short example of the extensor syntax: building unary maps and bilinear forms, and solving for the vibration modes of four point masses on springs:

points = mv.point([[0, 0, 0], [1, 0, 0], [0, 1, 0], [0, 0, 1]])   # four unit masses
inertia = (points & points.commutator(Bivector)).sum(axis=0)   # Antibivector <- Bivector

springs = points[:, None] & points[None, :]                    # [points, points] Antibivector: a line through each pair
stiffness = (springs * (springs & Bivector)).sum(axis=(0, 1)) / 2   # Antibivector <- Bivector
# the vibration modes, between two bilinear energy forms
values, modes = (Bivector & stiffness).eigh(Bivector & inertia)

The full example: vibration modes Open in Colab

Documentation

Articles

Conceptual articles on extensors, orientation, the regressive product, complementarity, discrete differential geometric algebra and coupled thermodynamics, and how extensors relate to linear algebra, tensors and forms.

Install and run

Install from PyPI:

pip install numga

To install numga with the examples package from GitHub and run an example:

pip install "numga[examples] @ https://github.com/EelcoHoogendoorn/numga/archive/HEAD.tar.gz"
python -m examples.mechanics.modes.scenarios

Metadata

Release files for numga 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for numga 2.0.0
File Size Uploaded Provenance Actions
numga-2.0.0.tar.gz 241.7 kB With provenance Details for numga-2.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for numga 2.0.0
File Interpreter ABI Platform Actions
numga-2.0.0-py3-none-any.whl Python 3 none any Details for numga-2.0.0-py3-none-any.whl

Total release size: 527.2 kB

Release files / numga-2.0.0.tar.gz

Download URL numga-2.0.0.tar.gz
Size 241.7 kB
Tags Source
SHA-256 checksum
How to use checksums
7e875560af5e0f33beafba8b6ec5c88858c1b5d7979550e1a9acd60eedfc744d
BLAKE2b-256 checksum
How to use checksums
515257f35b5b6d267b2912f0aa42edbb3a20842c896797efcdbcd2efa5d75a80
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Release files / numga-2.0.0-py3-none-any.whl

Download URL numga-2.0.0-py3-none-any.whl
Size 285.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d16b7c3546a1f2fd18e5f60bdb3a2a43bfaa1c1f9128b0386a5b78addf9c256f
BLAKE2b-256 checksum
How to use checksums
01e7fcc7cba5013571bd77cbd2e5105ff9c2fba93d65126e61d42eb26d60e44a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Security for numga 2.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for numga-2.0.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page