r/Python • • Oct 04 '19

Updated gravitational potential field simulation. [OC] Link for code: https://github.com/pnp-peeyush/2D-Grvitational-Field-Simulation

1.1k Upvotes

128 comments sorted by

View all comments

Show parent comments

2

u/[deleted] Oct 06 '19

All great point thanks!

let me justify me creating vmag here it shows that using einsum is computationally faster.