Skip to main content

Geometric Algebra in Python

Project description

Geomatica

... is a library for implementing Geometric Algebra in Python

After pip install geomatica, you can do all of this:

from geomatica import GA

ga = GA() # create a Geometric Algebra

i,j,k = ga[1:4] # extract 3 basis vectors

v = 3*i-5*j+k # some vector
S = (i+j-k)^(-j+2*k) # some bivector, constructed using wedge product

print(-i*j*k*S) # hodge dual of bivector S in R3
print((v|S)/S) # project v onto S through dot product + multiplication by inverse of S

Further information can be found in docstrings.


pypi: HERE!

github: HERE!

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

geomatica-1.1.3.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

geomatica-1.1.3-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file geomatica-1.1.3.tar.gz.

File metadata

  • Download URL: geomatica-1.1.3.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.16

File hashes

Hashes for geomatica-1.1.3.tar.gz
Algorithm Hash digest
SHA256 b9b4e9bc0ade02d0127f3500c29dd31cd1b0b46cd3f66a5a56a212da0ad98be4
MD5 b5a2deea6f405390681d94978ff8b24b
BLAKE2b-256 8183c6f2af63921916b47847a8d8cda2b7743c74f3691434cb80aa721f3ab8e3

See more details on using hashes here.

File details

Details for the file geomatica-1.1.3-py3-none-any.whl.

File metadata

  • Download URL: geomatica-1.1.3-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.16

File hashes

Hashes for geomatica-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 19fe7044535705f9641a8a28b88ab80035e3ac60e37cd7720a86496f42387c14
MD5 40933ab939d6392aafb9c4aa35ab38e9
BLAKE2b-256 dde583d1109cf6d58af151b5c938d385181ee2b5ac561be1172ece049dde60d8

See more details on using hashes here.

Supported by

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