On 21/08/2023 21:01, Aaron Meurer wrote:

Thanks Aaron for your amazingly fast response!

The main reason Oscar benchmarked matrices is that that's the part of
SymPy that he's focused on making faster so far. Actually, matrices
are more important than you'd think. They end up being used internally
in many calculations, in places like the solvers or integrals, so
making matrices faster will also make other parts of SymPy faster.

But actually, matrix inverse and your series example are very similar.
They both produce unwieldy expressions when computed naively. But
these expressions are much simpler if they are simplified:

If Oscar had mentioned that, I would never have written that reply - perhaps he forgot that he was not talking to a SymPy developer!

Is there a readable account explaining how the internals of SymPy perform their algebraic/calculus manipulations?

David

--
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/d781ab90-6390-6879-0e94-5ab8b34988ca%40dbailey.co.uk.

Reply via email to