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.4.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.4-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: geomatica-1.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 9a25021d2dcf3e2a3eff9085c89f55c049819b7a4911f38546f5f7717061b703
MD5 c8b6a07a36d05d6823d4491bc2537c9e
BLAKE2b-256 82a01477765e995775c52adeb5e373c1229f3d46212253f0f8df52e102e51ffa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: geomatica-1.1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f8d3cf2dd5a0a06674ae9c2fcaca1cff6ac32bbed20fced24f3daf94bc8977d2
MD5 cae1dd308dde25d4b0a8ff29ac160a7e
BLAKE2b-256 b5b55b18e55c8c508825bb1fb1db68533f804c2edb915136136039bccf69c281

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