help-octave
[Top][All Lists]
Advanced

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

vectorize problem?


From: Peter Brinkmann
Subject: vectorize problem?
Date: Sat, 2 Jul 2005 13:45:25 +0200
User-agent: Mutt/1.4.1i


Hi,
I just realized with horror that IODE (http://www.math.uiuc.edu/iode/)
isn't working with Octave 2.1.69 because the vectorize function doesn't
accept string arguments.

Would it be possible to change the behavior of vectorize to match the
behavior under Matlab? The Matlab version accepts both strings and
inline functions.

The current situation is a real problem for me because I've got a lot
of code that I need to keep working across a wide range of versions of
both Matlab and Octave. I suppose I could rewrite my code to work with
the current version of vectorize, but then it would break under older
versions of Octave where vectorize and inline aren't available (and
where I've resorted to using my own little vectorize hack that
operates on strings).

All things considered, it seems to me like the best solution is to
aim for Matlab compatibility and have vectorize accept both strings
and inline functions.
Best,
    Peter




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