galgebra
galgebra copied to clipboard
Symbolic Geometric Algebra/Calculus package for SymPy :crystal_ball:
This PR attempts to replicate the CircleCI workflow (which is not working as of this writing) in github actions. It also removes references to CircleCI. It also fixes a few...
As mentioned [here](https://github.com/pygae/galgebra/pull/487#discussion_r1294152107) the tests currently run on sympy 1.7; as of this writing, the current sympy version is 1.12, and the tests fail on it. When I removed the...
I have install galgebra on Ubuntu 22.04 using github - git clone https://github.com/pygae/galgebra.git cd galgebra pip install -e . When I try to run terminal examples from the geany editor...
I am trying to calculate the image of a 3D vector $u=e_1+2e_2+3e_3$ under the rotation with axis vector $e_1+e_2+e_3$. I would expect to get a vector as image but the...
To reproduce the bug: ``` ga = Ga('e', g=[1,1,1], coords=S.symbols(f"0:3", real=True), wedge=False) x,y,z = ga.mv() a = ga.mv('A','mv') print((a.grade(0)*x).grades) print((a.grade(0)^x).grades) ``` It prints: ``` None None ``` I found it...
To reproduce the bug, run this in a Jupyter/Colab cell: ``` ga = Ga('e', g=[1,1,1], coords=S.symbols('x y z', real=True), wedge=False) ex,ey,ez = ga.mv() I = ga.i (ex*I) * (ex*I).dual(), (ex*I).dual()...
x is a coordinate symbol (a plain sympy Symbol object) and ex is a Mv instance of a Ga basis symbol. I tried to invoke (x*ex).diff(x) and the method throws...
The __ pow __ method claims supporting integer power but it is returning 1 for any negative integer power, it also didn't raise exception if it do not support negative...
The current Mv class missing an implementation of the __ rtruediv __ method, it makes a simple expression like 1/I (where I is the pseudoscalar multivector) raise exception because the...
Addresses #505 . This PR aims to: - incorporate the files from upstream, as is when possible, but avoid breaking compatibilities within this PR - lint the code - add...