Skip to main content

geometricalgebra

badge

Library implementing conformal geometric algebra.

The key features are:

  • Fast numerical implementation of multivector and its exterior algebra
  • The library supports various backends (numpy, tensorflow, jax)
  • Full support of autograd works when using jax and tensorflow
  • All operation work for single multivector or tensors of multivector. Broadcasting is also supported.

Installation

pip install geometricalgebra

Example

from geometricalgebra import cga3d
a = cga3d.e_0
b = cga3d.e_1.up()
c = cga3d.e_2.up()
circle = a ^ b ^ c
# The radius of a circle going through [0, 0, 0], [1, 0, 0], and [0, 1, 0]
radius = circle.circle_to_center_normal_radius()[2].to_scalar()

Release files for geometricalgebra 0.1.3

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

Source distribution (sdist)

Source distribution for geometricalgebra 0.1.3
File Size Uploaded
geometricalgebra-0.1.3.tar.gz 36.4 kB Details

Built distribution (wheel)

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

Total release size: 78.9 kB

Release files / geometricalgebra-0.1.3.tar.gz

Download URL geometricalgebra-0.1.3.tar.gz
Size 36.4 kB
Tags Source
SHA-256 checksum
How to use checksums
7488dd206fbae146edfca941c673c980bf7ea8a0390f4528db367b193ea5643d
BLAKE2b-256 checksum
How to use checksums
15ee09819b362d30399eb5f02d6a8e42e6c933f8405c712f38d0604da2ea520e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / geometricalgebra-0.1.3-py3-none-any.whl

Download URL geometricalgebra-0.1.3-py3-none-any.whl
Size 42.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2483944d2c878088aabc5a6af7d3b1f209eb54ae6008863c18f13e4cb232058c
BLAKE2b-256 checksum
How to use checksums
98881a8ab57e731c3960d4e3852faa91ed8a3bac9ccf56c978fa18d806d30088
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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