[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #41888] fminsearch: should pass additional arg
From: |
H. G. |
Subject: |
[Octave-bug-tracker] [bug #41888] fminsearch: should pass additional arguments to called function |
Date: |
Tue, 18 Mar 2014 08:19:51 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0 |
Follow-up Comment #2, bug #41888 (project octave):
You are right, in the current documentation of Matlab this behavior is not
documented any more. They suggest to use anonymous functions (or nested
functions) instead, like you suggested as well.
But I am pretty sure, that a couple of years ago, this WAS the documented
behaviour of Matlab. And in current Matlab versions this still works today.
(Here is an old Matlab doc I found:
http://nf.nci.org.au/facilities/software/Matlab/techdoc/ref/fminsearch.html )
Therefore, quite some of our legacy matlab code still uses this (nowadays
undocumented) behavior.
What harm would it do to implement this behavior in Octave as well? It doesn't
sound like a huge change in code to my amateur ears. It would be compatible to
the former Octave behavior, and it would increase the compatibility with
Matlab. And we could properly document it in the Octave documentation.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?41888>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #41888] fminsearch: should pass additional arguments to called function, H. G., 2014/03/17
- [Octave-bug-tracker] [bug #41888] fminsearch: should pass additional arguments to called function, John W. Eaton, 2014/03/17
- [Octave-bug-tracker] [bug #41888] fminsearch: should pass additional arguments to called function,
H. G. <=
- [Octave-bug-tracker] [bug #41888] fminsearch: should pass additional arguments to called function, John W. Eaton, 2014/03/18
- [Octave-bug-tracker] [bug #41888] fminsearch: should pass additional arguments to called function, David Spies, 2014/03/20
- [Octave-bug-tracker] [bug #41888] fminsearch: should pass additional arguments to called function, John W. Eaton, 2014/03/20
- [Octave-bug-tracker] [bug #41888] fminsearch: should pass additional arguments to called function, David Spies, 2014/03/21
- [Octave-bug-tracker] [bug #41888] fminsearch: should pass additional arguments to called function, H. G., 2014/03/21