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.3.tar.gz (7.3 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.3-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: geomatica-1.3.3.tar.gz
  • Upload date:
  • Size: 7.3 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.3.tar.gz
Algorithm Hash digest
SHA256 39e165840bac6e9471d1445f6a08f8346cf984f03d52787f85ef6f9c7e85b456
MD5 b221f8568b7edfba21424a200c26ee46
BLAKE2b-256 65692951ff9ee5a1ffadc987d7007b4e3b3fb05c9eea240af0fdebe18fc7cf1d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: geomatica-1.3.3-py3-none-any.whl
  • Upload date:
  • Size: 7.1 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 fe47fd43164e871013168edc9c5faccf10c16cbb782e1e3b90f10797eb8dcb00
MD5 8bc04ff2aadcbb4510cf102153c453ea
BLAKE2b-256 b3558479ae55c7dc4a46135eeed907a7f8941a259794ee9cf3125766a8135e7b

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