On Sun, 31 May 2020 at 18:44, Giuseppe G. A. Celano <[email protected]> wrote: > > PS: I checked my previous post and the code I wrote looks correct:
Your code is correct but it is probably not a good way of solving your actual problem. What would make more sense as a use of sympy is to use sympy to derive a matrix formula for the solution and then use numpy to calculate the numeric solution with that formula using your input data. If your actual problem is a purely numeric linear-least-squares problem then numpy/scipy can already solve this pretty well and will be more effective than sympy for large inputs. If your problem is more complex and has a nontrivial formula for the solution then sympy might be a good tool to find that formula. -- 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/CAHVvXxR4YcN3%2BZxLbZ%3DzweRC8E2BsXpww%3Db2xutdZUN3bxzNKQ%40mail.gmail.com.
