4 ms·
Last time I tried sympy was to simplify a function including dot products. In 24h it was not able to converge. Anyone has tips to reduce time required to simpl
by lpasselin 6y ago
Last time I tried sympy was to simplify a function including dot products. In 24h it was not able to converge.
Anyone has tips to reduce time required to simplify?
- cf 6y agoThe main simplify function is full of heuristics and is itself a basket of more specialised simplify functions. One thing to try one or several of these specialised functions. Another tip I don't think gets mentioned enough, try to provide domain information for your symbolic variables. By default all these systems assume the most general solution. But if you know x is a positive real value, you should tell that to SymPy.