Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

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


  • Prev by Date: Re: MD5 Brain teaser
  • Next by Date: Re: MD5 Brain teaser
  • Previous by thread: Re: MathLink and Python
  • Next by thread: Re: solve question/simplify question