MathGroup Archive 2009

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

Search the Archive

Re: Can I do this faster?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg103027] Re: Can I do this faster?
  • From: Andreas <aagas at ix.netcom.com>
  • Date: Fri, 4 Sep 2009 03:16:27 -0400 (EDT)
  • References: <h7o2cd$jtk$1@smc.vnet.net> <h7pl35$gg7$1@smc.vnet.net>

On Sep 3, 7:56 pm, Ray Koopman <koop... at sfu.ca> wrote:
> Rest@FoldList[Times,1,1+(list1-1).Transpose@list2]

Wow, on my machine the original code took 14.14 seconds to run, yours
came in at 0.171!
Thanks


  • Prev by Date: Integrate[ 0.0*x, {x, 0, y}]
  • Next by Date: Re: how to solve the integer equation Abs[3^x-2^y]=1
  • Previous by thread: Re: Can I do this faster?
  • Next by thread: Editing named style sheet?