MathGroup Archive 1999

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

Search the Archive

Re: how decrease computation time?

  • To: mathgroup at
  • Subject: [mg18527] Re: how decrease computation time?
  • From: Jens-Peer Kuska <kuska at>
  • Date: Thu, 8 Jul 1999 22:32:58 -0400
  • Organization: Universitaet Leipzig
  • References: <> <7m1850$5i0$>
  • Sender: owner-wri-mathgroup at


the 1:64 speed ratio of C to Mathematica is quit good, I have seen much
slower cases 1:100 to 1:300 it depends ...

What did you expect ? Mathematica is a Computer Algebra System (!!!!).
Ok version 4 is faster than Mathematica 3.0 but it is still an
that don't use the sophisticated optimization of a true compiler.

a) Look if you can use the symbolic power of Mathematica to save
   some of your NIntegrate[] calls by analytic integrations
b) Look again if You can symbolical simplify your equations 
c) if you have a C program you should use MathLink and use
   Mathematica for pre/post processing

Hope that helps

"Arnold.Blaisonneau" wrote:
> > Hi, I' m a new user of Mathematica and I try to translate C program in
> > Mathematica language;
> > When I do a calculation with Mathematica it takes too many time
> > compared with C program (6.4 second versus 0.1second);
> > Please excuse me for the lentgh of my message but I really don't know
> > what to do for increase the speed;
> > (Note that separately each function doesn't take many)
> > If any one could help me....
> > Thanks

 Snip Snapp Snip Snapp

  • Prev by Date: RE: Kronecker product of matrices
  • Next by Date: Re: "At long last, Sir, have you no shame?"
  • Previous by thread: how decrease computation time?
  • Next by thread: Re: how decrease computation time?