Re: [OctDev] Fixes to line_min function in Optim package

2011-11-28 Thread Olaf Till
On Sun, Nov 27, 2011 at 02:54:24PM -0500, Nir Krakauer wrote: > Dear Olaf, > > Thank you for your suggestions. > > > - Why is 'h' randomized? Even if there should be a good reason, I think this > > cannot be done inside 'line_min'. Rather, make 'h' configurable so that > > users > > can randomiz

Re: [OctDev] Fixes to line_min function in Optim package

2011-11-27 Thread Nir Krakauer
Dear Olaf, Thank you for your suggestions. > - Why is 'h' randomized? Even if there should be a good reason, I think this > cannot be done inside 'line_min'. Rather, make 'h' configurable so that users > can randomize it 'from outside'. Since h is currently set arbitrarily, I have found for my a

Re: [OctDev] Fixes to line_min function in Optim package

2011-11-26 Thread Olaf Till
On Fri, Nov 25, 2011 at 07:33:18PM -0500, Nir Krakauer wrote: > I've made a number of changes to line_min for compatibility with the > current Octave command set as well as for more efficient operation. > Please see the attached. > > Best, > > Nir Nir, a few issues. First of all: - Why is 'h'

[OctDev] Fixes to line_min function in Optim package

2011-11-25 Thread Nir Krakauer
I've made a number of changes to line_min for compatibility with the current Octave command set as well as for more efficient operation. Please see the attached. Best, Nir 18c18 < ## args : list: List of argument of f --- > ## args : cell: Cell array of arguments of f 42c42,53 < function