On Sat, 13 Mar 2021 at 22:23, Sayandip Halder <[email protected]> wrote: > > > Your PR #18814 made solve_linear_system() a wrapper for linsolve(). But that > was later replaced in some PR (which I am unable to find) by solve_lin_sys(). > Why was it changed? Ref: here
At the time it turned out that linsolve was slow for some cases where solve_linear_system was faster. Since then I introduced a new matrix class (DomainMatrix) that is used internally for some operations and is much faster than the current matrix class in many common cases. That is now used by linsolve and solve (and also solve_lin_sys). There were a bunch of changes beginning with: https://github.com/sympy/sympy/pull/18814 https://github.com/sympy/sympy/pull/18844 Most recent change: https://github.com/sympy/sympy/pull/20780 See here for the current status: https://github.com/sympy/sympy/issues/20987 I think that building out the implementation of DomainMatrix and using it to make sympy much faster is a major priority for sympy right now. 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAHVvXxRZA9Gt6%2B%3DmHKUuLOTwdBL%2B__CWhxD6n6pPoghHDJ3FRg%40mail.gmail.com.
