Ill need a few more days until I can fully stabilize my repo but check this
out -> https://github.com/spacetimeengineer/spacetime-toolkit
This is very new but it is much like what you described. Perhaps you could
build from it or at-least shoot me some ideas. All you need is Sympy and a
termina
As another advice, I would suggest to focus more on pattern matching and
rewriting rules. Implementing group theory and differential geometry in a
rigorous manner might be very difficult, and often physicists are not even
very precise with its usage.
I recommend focusing on a good API (design o
That's a pretty broad question. I'm not sure if we have any general
documentation on making your own SymPy types with subclassing. In
general you don't have to override any methods unless you want to
define that behavior. The main thing is to make sure the args of the
expression are all Basic and c
Thanks for the responses, I was wondering --is there any tutorial on how to
integrate SymPy dependencies into a new module?
So let's say I wanted to make my own Tensor class. What does it need to
inherit (other than Expr), what methods needs to be implemented, what
dunder's need to be overridd
On Monday, 3 December 2018 00:00:39 UTC+1, Nicholas Ondo wrote:
>
> So I'm a former theoretical physicist, and I am interested in writing a
> library that will implement important functionality needed for formal HEP
> physics/gravitational physics research. There's loads of calculations I
> d
If anyone, including you, is going to spend serious time on including some
of that functionality, I would suggest you have a look first at what is
already present in Cadabra (https://cadabra.science). It is possible to
re-use its algorithms elsewhere by writing a bit of Python glue code, and
po