Dear Aaron,
Thanks! YES, I installed sympy from anaconda. But when I installed gmpy2 yesterday, I did not get a message like ‘exists already in the environment’ or similar. (I know nothing about anaconda, just follow the installation instructions given to me by my son) Thanks! Peter From: sympy@googlegroups.com <sympy@googlegroups.com> On Behalf Of Aaron Meurer Sent: Freitag, 8. September 2023 09:15 To: sympy@googlegroups.com Subject: Re: [sympy] Future of SymPy part 2: polynomials By the way, if you install SymPy from conda-forge, they gmpy2 will be installed automatically. If you use conda-forge chances are you've already been using it this whole time. Aaron Meurer On Fri, Sep 8, 2023 at 1:13 AM <peter.stahlec...@gmail.com <mailto:peter.stahlec...@gmail.com> > wrote: Dear Oscar, Thanks! I installed it (I used anaconda, rather than pip), all went well. As you predicted, I did not find any difference so far, will keep on observing. Thanks again! Peter -----Original Message----- From: sympy@googlegroups.com <mailto:sympy@googlegroups.com> <sympy@googlegroups.com <mailto:sympy@googlegroups.com> > On Behalf Of Oscar Benjamin Sent: Donnerstag, 7. September 2023 12:41 To: sympy@googlegroups.com <mailto:sympy@googlegroups.com> Subject: Re: [sympy] Future of SymPy part 2: polynomials On Thu, 7 Sept 2023 at 11:14, <peter.stahlec...@gmail.com <mailto:peter.stahlec...@gmail.com> > wrote: > > Dear Oscar, > > While 99% is way above my head (I studied engineering 40+ years ago), it is > fascinating reading! > I had no idea, how much 'math' was in sympy. > > In your post you write: > > if gmpy2 is installed then SymPy will use it and will be a lot faster for > some operations but with no other observable change in behaviour. > > I only use sympy through symy.physics.mechanics, to pass my time doing > simulations, and I do it on Jupyter notebook. > Would gmpy2 potentially speed up the formation of Kane's equation of motion? It is very easy to install gmpy2 (pip install gmpy2) to see if it does speed anything up. I don't think that the mechanics module explicitly uses any of the low-level polynomial code so the question would be whether something like cancel or factor is being used somewhere. My expectation is that things like that would be avoided in mechanics. The next post will talk about matrices which is more relevant for the mechanics module although the matrices would be matrices of polynomials so having fast polynomials also makes a big difference to linear algebra. This would be very relevant to our previous discussion here: https://github.com/sympy/sympy/issues/24679 -- Oscar -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com <mailto:sympy%2bunsubscr...@googlegroups.com> . To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAHVvXxQWcQNG9Fyb6_aZx4jOOZKjR11RN7mTfppSGdoVLns_MQ%40mail.gmail.com. -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com <mailto:sympy%2bunsubscr...@googlegroups.com> . To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/000001d9e224%2401d58210%2405808630%24%40gmail.com. -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com <mailto:sympy+unsubscr...@googlegroups.com> . To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAKgW%3D6%2B2xM2W4KZmN9d9YrYEsxuyU70xfsKr457xEnXvgF%3D4Ng%40mail.gmail.com <https://groups.google.com/d/msgid/sympy/CAKgW%3D6%2B2xM2W4KZmN9d9YrYEsxuyU70xfsKr457xEnXvgF%3D4Ng%40mail.gmail.com?utm_medium=email&utm_source=footer> . -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/000301d9e224%24f03d27a0%24d0b776e0%24%40gmail.com.