Skip to main content

A package for conformal geometric algebra

Project description

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

From source:

git clone git@github.com:wandelbotsgmbh/geometricalgebra.git
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.0.tar.gz (36.2 kB view details)

Uploaded Source

Built Distribution

geometricalgebra-0.1.0-py3-none-any.whl (42.3 kB view details)

Uploaded Python 3

File details

Details for the file geometricalgebra-0.1.0.tar.gz.

File metadata

  • Download URL: geometricalgebra-0.1.0.tar.gz
  • Upload date:
  • Size: 36.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for geometricalgebra-0.1.0.tar.gz
Algorithm Hash digest
SHA256 36251d94e6994593455b67e9adcf46b765c1de25c0322de578dbdd322f8cab73
MD5 bb139ff43634ad05a0ddf72895f20832
BLAKE2b-256 306220dcf46e31880f2791dd80b7524a67d4a596c1a5bca2f774c9e092e55b04

See more details on using hashes here.

File details

Details for the file geometricalgebra-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for geometricalgebra-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b304f273d2fe6a8d6c932e628b3cbd1f5990a790af84d39a45fa66b66d158274
MD5 23d376cd1841c4392401d12e1dd706d5
BLAKE2b-256 9c752dba40c0be822f0c35b3123893b39d87d712dd0553e7bf35544dbf62e239

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page