|
From: | Vic Norton |
Subject: | Re: MacOSX: Octave.app 2.9.14 |
Date: | Sun, 30 Sep 2007 22:55:49 -0400 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |