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.3.8.tar.gz (7.0 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.3.8-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for geomatica-1.3.8.tar.gz
Algorithm Hash digest
SHA256 f0f780873a0256533498d17495c2cc52334a18019fc9b2c8600b7157afdc931d
MD5 2a6f409d244a48cccc3d06280a7c7e77
BLAKE2b-256 4eb95ea4b1846d069ca5d92b0f23ac1c8fa583308e2ff8336ff8b617366560f9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: geomatica-1.3.8-py3-none-any.whl
  • Upload date:
  • Size: 6.8 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.3.8-py3-none-any.whl
Algorithm Hash digest
SHA256 1f0e08d49d3ef23fb882e6798880252474bfa9083095b4928cab95414221e04f
MD5 34f8d8ea4598e28aae60f5ed864c8257
BLAKE2b-256 4d29fc5ce556b7116b6caaf3a4c19086b05832bfe7d277cbfce61f7fcdb48d0d

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