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: Vic Norton
Subject: Re: MacOSX: Octave.app 2.9.14
Date: Sun, 30 Sep 2007 22:55:49 -0400

Obviously the situation is not as extreme on your system as mine, Dimitri, but, even on your system, doesn't it bother you that a basic function takes almost twice as long as a long-hand expression for what it should be doing?

Regards,

Vic

On Sep 30, 2007, at 5:59 PM, Dmitri A. Sergatskov wrote:

octave:3> x=randn(1,1000000);
octave:4> tic; norm(x); toc
Elapsed time is 0.240479 seconds.
octave:5> tic; sqrt(x .* x); toc
Elapsed time is 0.141808 seconds.
octave:6> tic; norm(x,1); toc
Elapsed time is 0.196823 seconds.
octave:7> tic; sum(abs(x)); toc
Elapsed time is 0.105629 seconds.



reply via email to

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