MathGroup Archive 2012

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

Search the Archive

How I can I optimize the following code in order to get very short running time


How I can I optimize the following code in order to get very short
running time?

Time1 = AbsoluteTime[];
n = 3000;
Do[Do[x =
     Sin (45.0)*ArcSin (0.5)*Sqrt (5.0)*ArcTan (2.5555);, {n}], {n}];
Time2 = AbsoluteTime[];
Print[Time2 - Time1];



  • Prev by Date: Re: what type of InterpolatingFunction?
  • Next by Date: Re: How to Multiply a Sequence of #s that depends on the previous #
  • Previous by thread: Re: what type of InterpolatingFunction?
  • Next by thread: Re: How I can I optimize the following code in order to