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 15:11:57 -0400

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?

jwe


reply via email to

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