spacetimeengine
cadabra2
spacetimeengine | cadabra2 | |
---|---|---|
1 | 2 | |
143 | 215 | |
- | - | |
1.0 | 8.0 | |
about 1 year ago | 12 days ago | |
Python | C++ | |
BSD 3-clause "New" or "Revised" License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
spacetimeengine
-
SymPy: Symbolic Mathematics in Python
A decade ago when I was interested in General Relativity I wanted to write a simple program to handle symbolic calculations for Einstein field equations (Starting with metric and calculated affine connections, ricci tensor …etc.). Sympy was an option (better because python was the only language I know well) but I found it hard and actually couldn't make it work. I used mathematica which was new for me but did it in a couple of hours. I expanded it later and used it to calculate a lot of things in a black hole paper I published later.
I checked now, and it seems that on this front a lot of development in sympy made it possible that we know how very good libraries built on top of it [1] [2]. There is even now a Jupyter notebook example on schwarzschild metric [3].
[1] https://docs.einsteinpy.org
[2]https://github.com/spacetimeengineer/spacetimeengine
[3] https://github.com/sympy/sympy/blob/master/examples/intermed...
cadabra2
-
A basic introduction to NumPy's einsum
If you're into tensor algebra i can only recommend the beautiful piece of Software Cadabra is:
https://cadabra.science/
We wrote an article with it once, 40th order in the Lagrangian, perhaps 50k pages of calculations when all printed. Amazing tool! Thanks Kasper!
-
Help with compiling Cadabra2 on Fedora
Before these suggestions come up, let me note that I did submit a bug report about a month ago, which was so far unaddressed by the developer. If I can't get it to work here, I also plan to email the developer directly since he said
What are some alternatives?
fricas - Official repository of the FriCAS computer algebra system
array - C++ multidimensional arrays in the spirit of the STL
OpenGL-Particle-Motion - This project simulates the motion of electrons and protons using Coulomb's Law. The simulation is visually represented on-screen using OpenGL.
einops - Flexible and powerful tensor operations for readable and reliable code (for pytorch, jax, TF and others)
julia - Simple fractal drawing software
einshape
calc - C-style arbitrary precision calculator
NumPy - The fundamental package for scientific computing with Python.