[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #56885] fminsearch should accept a function na
[Octave-bug-tracker] [bug #56885] fminsearch should accept a function name as first input argument
Fri, 13 Sep 2019 08:10:18 -0400 (EDT)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0
Follow-up Comment #2, bug #56885 (project octave):
@Rik: Thank you for the quick fix. Just a little more than an hour after
reporting. My respect!
With your change, it is now also possible to pass something like "@(x,y)
x^2*y" for FCN, i.e. a string containing an "anonymous function". Should we
also document that?
Should we also explicitly document that passing anonymous functions is fine?
Or is this just a special case of a function handle?
Btw. the documentation for "inline" contains the following:
> Programming Note: The use of inline is discouraged and it may be removed
from a future version of Octave. The preferred way to create functions from
strings is through the use of anonymous functions (see Anonymous Functions) or
Reply to this item at:
Message sent via Savannah