Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #8656

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

From Liwen Zhang <gearss8888@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject How I can I optimize the following code in order to get very short running time
Date 2012-02-21 11:10 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jhvu3d$7vc$1@smc.vnet.net> (permalink)

Show all headers | View raw


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];

Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

How I can I optimize the following code in order to get very short running time Liwen Zhang <gearss8888@gmail.com> - 2012-02-21 11:10 +0000
  Re: How I can I optimize the following code in order to get very Szabolcs <szhorvat@gmail.com> - 2012-02-22 10:29 +0000

csiph-web