help-octave
[Top][All Lists]
Advanced

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

Re:


From: Keith Goodman
Subject: Re:
Date: Mon, 27 Mar 2006 09:01:56 -0800

On 3/19/06, Shai Ayal <address@hidden> wrote:
> how would you calculate a 10 sample running average on a 100 element vector?

for loop is slow. cumsum is faster. filter is fastest.

A JIT compiler would be great. But I'd rather have a function that
automatically converts m-file code into oct-file code. Then you could
easily compile m-file code that contained for loops:

>> m2oct myfunction myfunctionoct
>> mkoctfile myfunctionoct

Plus you could tell mkoctfile to compile myfunctionoct as a
stand-alone application, which would make it easier to share with
friends that don't have Octave.

Which is harder to create, a JIT compiler or a function that
automatically converts m-file to oct-file source code?



-------------------------------------------------------------
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
-------------------------------------------------------------



reply via email to

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