From help-request at octave dot org Sun Feb 6 00:57:41 2005 Subject: Re: octave-speed From: "Paul Thomas" To: "Paul Kienzle" Cc: =?iso-8859-1?Q?Rafael_Rodr=EDguez_Velilla?= , Date: Sun, 6 Feb 2005 08:03:00 +0100 Paul, This was the first thing that I tried. > > n1^(2^-k) prod(T.^(2.^(-k:-1))) > Screwed it up by implementing it whilst tapping away on the portable, in front of a movie with the family...... Unsurprisingly, it takes roughly the same time as the C++ function. Rats! Paul T ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------