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.2.2.tar.gz (6.7 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.2.2-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for geomatica-1.2.2.tar.gz
Algorithm Hash digest
SHA256 5d1224daebe912b201ca6a8185439e3d2569e47a3a2608913ca20f5428d077ff
MD5 670dfb7a33a9f66743bbf9e3aa8eb069
BLAKE2b-256 8052e16149402d03c2e3ec52ea28a06b0d97a0b8c1ee83cd2da7dab4fa263246

See more details on using hashes here.

File details

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

File metadata

  • Download URL: geomatica-1.2.2-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.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ea618c4b356192eb171cf7de6fbaa457a14554dcae91581f7f25a1f21a513164
MD5 29e3da5cb797f618032afa3e31b9eeec
BLAKE2b-256 8e77a22b7c991c94bd1eb1722ecd01c887639e4bd774771e2d85d8821a1a1643

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