help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MacOSX: Octave.app 2.9.14


From: John W. Eaton
Subject: Re: MacOSX: Octave.app 2.9.14
Date: Wed, 03 Oct 2007 17:08:17 -0400

On  3-Oct-2007, Quentin Spencer wrote:

| John W. Eaton wrote:
| > On 30-Sep-2007, Dmitri A. Sergatskov wrote:
| >
| > | Another speedup can be done if we make a norm (x,1) a special case,
| > | so instead of calculating:
| > | 
| > | octave:29> tic; sum((abs(x) .^1))^1 ; toc
| > | Elapsed time is 0.174812 seconds.
| > | 
| > | We can simply calculate:
| > | 
| > | octave:30> tic; sum((abs(x))) ; toc
| > | Elapsed time is 0.080658 seconds.
| >
| > Patches, anyone?
| >   
| 
| It looks like it should be as simple as this.

Thanks.

What about the other suggestions here:

  http://www.cae.wisc.edu/pipermail/help-octave/2007-September/006001.html

?

jwe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]