On Sep 29, 9:49 pm, Luke <hazelnu...@gmail.com> wrote: > I was thinking that it might be nice to have pre-computed matrix inverses > for n x n matrices. Matrix inversion is O(n^3), so it would be nice to have > all this precomputed symbolically, and this would greatly speed up Sympy's > matrix capabilities. Inverses up to say 100x100 could be computed (or maybe > something smaller), and then when you need an inverse, everything would be > fast. This could also be used behind the scenes (by introduction of > symbolic substitution dictionaries) for inverting a matrix full of sympy > expressions.
I think there won't be a huge speed advantage, because in the end you get a lazily evaluated version of the result of the inversion algorithm. If nothing simplifies somehow (and I think it doesn't for the general dense case), you only avoid some sympy overhead, if at all. Vinzent --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sympy?hl=en -~----------~----~----~----~------~----~------~--~---