søn, 21 03 2010 kl. 10:28 +0100, skrev David Bateman: > Michael Creel wrote: > > Internally, __bfgsmin.c uses feval to compute the function value. Perhaps > > that could be changed to work with anonymous functions. I think that this > > would be the hardest part of making the change. > > > > > Here is a code snippet that is needed to accept a function as the first > argument in an oct-file as a function handle or inline functio. String > functions are accepted and converted internally into an anonymous > function handle.
In the specific case of 'bfgs' then it consists of a wrapper function and a C++ core. So we should be able to deal with the different types of functions in the wrapper and only deal with anonymous functions inside the C++ core. Søren ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev