Git Product home page Git Product logo

geometricalgebra's Introduction

geometricalgebra

badge

Library implementing conformal geometric algebra.

The key features are:

  • Fast numerical implementation of multivector and its exterior algebra
  • The library supports various backends (numpy, tensorflow, jax)
  • Full support of autograd works when using jax and tensorflow
  • All operation work for single multivector or tensors of multivector. Broadcasting is also supported.

Installation

pip install geometricalgebra

Example

from geometricalgebra import cga3d
a = cga3d.e_0
b = cga3d.e_1.up()
c = cga3d.e_2.up()
circle = a ^ b ^ c
# The radius of a circle going through [0, 0, 0], [1, 0, 0], and [0, 1, 0]
radius = circle.circle_to_center_normal_radius()[2].to_scalar()

geometricalgebra's People

Contributors

antemons avatar patrick-wbots avatar biering avatar stmoebius avatar

Stargazers

Stefan Wagner avatar  avatar  avatar Dominik avatar  avatar  avatar dsonnemann avatar Georg Püschel avatar Marc avatar Kilian Koeltzsch avatar Peter Dieleman avatar ikudyk avatar Markus Schmidtchen avatar Johannes Ebeling avatar

Watchers

 avatar  avatar

geometricalgebra's Issues

Publish to PyPI

The project needs proper release tagging and should publish to PyPI

Fix some typos / grammar

Hihi,

I spotted some small typos, just in this one file basically:

ConformalGeometricAlgebra.ipynb:

  • obejcts
  • quaterions
  • how object can be --> how objects can be
  • easy --> easily
  • more vectors result in an objects --> more vectors results in an object
  • elemetary
  • very compact --> in a very compact way

Plus there's an it that should be an its in `README.md.

poetry add fails on mac with apple m2

Hi,
i tried to add the package but it failed on my mac with the apple m2:

(meander-pcd-py3.9) ➜  meander-pcd git:(main) ✗ poetry add geometricalgebra==0.1.1

Updating dependencies
Resolving dependencies... (4.7s)

Package 'tensorflow-macos' is listed as a dependency of itself.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.