A package for conformal geometric algebra
Project description
geometricalgebra
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()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
geometricalgebra-0.1.3.tar.gz
(36.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file geometricalgebra-0.1.3.tar.gz.
File metadata
- Download URL: geometricalgebra-0.1.3.tar.gz
- Upload date:
- Size: 36.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7488dd206fbae146edfca941c673c980bf7ea8a0390f4528db367b193ea5643d
|
|
| MD5 |
49b26120314a9c2d3aac65b646e76cb7
|
|
| BLAKE2b-256 |
15ee09819b362d30399eb5f02d6a8e42e6c933f8405c712f38d0604da2ea520e
|
File details
Details for the file geometricalgebra-0.1.3-py3-none-any.whl.
File metadata
- Download URL: geometricalgebra-0.1.3-py3-none-any.whl
- Upload date:
- Size: 42.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2483944d2c878088aabc5a6af7d3b1f209eb54ae6008863c18f13e4cb232058c
|
|
| MD5 |
c4c28bb43411071b09dd70c4e6d03bb2
|
|
| BLAKE2b-256 |
98881a8ab57e731c3960d4e3852faa91ed8a3bac9ccf56c978fa18d806d30088
|