Oscar,

Thanks for your very detailed reply.

However, I do wonder if inversions of integer matrices of increasing size is the best test of the speed of SymPy vs another product.

Maybe some messy algebra is better. For example:

series(cos(k*x/(1-k*(1-k*x**2)/(1-x))),x,0,n)

Where n is successively replaced by 6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,etc might be a bit more realistic.

It might be best if the result is assigned to a variable so as to exclude the cost of converting it to a string.

I am sure I am teaching my grandmother to suck eggs (not that either of them ever did), but I hope you can see my point.

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/c4796186-9cfd-d0de-6e0e-5de3ad5c343f%40dbailey.co.uk.

Reply via email to