Comments (6)
I wrote a very hacky thing following the same approach but it was quite clear sympy was useless manipulating the resulting expressions (very large polynomials expressions). I'm interested to follow this work, maybe you will find nice ways to tie GA and sympy together. On the other hand, I started to read a lot of papers about doing geometric proofs using computers. Most of them are wrote by Hongbo Li, he also wrote a nice book (https://www.amazon.com/Invariant-Algebras-Geometric-Reasoning-Hongbo/dp/9812708081). I'm still trying to find an implementation.
from galgebra.
I finally read the gist and find it quite neat. One concern, should we use the private _sympifyit
?
from galgebra.
One concern, should we use the private
Sympy has not been built for ease of writing extension algebras - we have little choice but to call private methods if we want to actually integrate with rather than just depend on sympy
from galgebra.
If we're going to use private methods (as an important design dependency) in SymPy, it's better to bring the discussion to SymPy and possibly submit PRs to make it part of the API.
from galgebra.
Found a useful part of the (private) sympy API, _constructor_postprocessor_mapping
(example here)
https://github.com/sympy/sympy/blob/master/sympy/core/basic.py#L1793-L1822
This would allow us to overload Add(mv, mv)
.
from galgebra.
I believe the equivalence of this is happening already, only in a different approach: https://github.com/pygae/galgebra/commits/master/galgebra/atoms.py . Should we close this? @eric-wieser
from galgebra.
Related Issues (20)
- Run tests on latest sympy HOT 1
- Extra `\cdot` since SymPy 1.10 HOT 2
- Broken `MatrixFunction` since SymPy 1.11 HOT 2
- Broken doc since #487 HOT 2
- Sync upstream updates HOT 2
- The sundial problem and a cheat sheet by Russell Goyder
- Mv class return 1 for all negative integer power HOT 20
- expression like 1/<Mv> raise exception HOT 2
- diff and pdiff method of class Mv throws exception when differentiate by a coordinate symbol HOT 4
- Mv.dual() method return wrong result HOT 7
- The wedge product operator ^ returns wrong result HOT 1
- Mv.grades return None under some situations HOT 1
- Mv.__pow__ is not returning Mv instance as return value when raise to power of zero HOT 5
- Make `__pow__` more performant
- Make `__pow__` support rational powers as well
- Sort out scattered LaTeX preambles HOT 1
- `norm` has no abs bar for even grades
- Improve doc on available GA operations in README
- Provide a kingdon-like interface, and run cross-library test cases
- Improve Migrating guide for readers of LAGA&VAGC
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from galgebra.