solve question/simplify question
- To: mathgroup at smc.vnet.net
- Subject: [mg55494] solve question/simplify question
- From: Paul Schneider <paulibaer at uboot.com>
- Date: Sat, 26 Mar 2005 02:39:24 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Hi, I have a list called equns of linear equations which are independent of each other. The according variables are in a list called params. I solve the equations into a list called sol using sol = Solve[equns, params]; Can I expect the solution procedure to be faster or in favor of memory usage if I iterate through the elements of the lists and solve for each equation separately? Same question goes for Simplify. I don't want to try and find out myself because I have noticed big differences in running times with Mathematica and I am not sure how to test for improved speed. The equations are enormous and I don't know in advance how they look like, so I can't use the linear algebra routines. My second question goes to memory management. Even though I have lots of memory it gets maxed out pretty quickly when I use Simplify, or FullSimplify on the solutions of those huge equations. So I tried to get rid of expressinos that are not needed anymore by Clear[var] or var = . as is proposed in the help files. I also tried Share[ ]. But it doesn't seem to do anything. How can I improve this situation. Thank you, Paul