On Wed, May 19, 2010 at 08:33:23AM +0100, Gary wrote:
> Re. the number of calls per iteration: I'm using the built-in finite
> differencing function to calculate the jacobian. If I specify iter =
> 1, leasqr stops after 102 calls to the function, but if I allow as
> many iterations as are needed to reach convergence (often 10 to 20
> iterations are gone through), there are a little more than 50 calls
> per iteration. Is this the expected behaviour?

Yes, if you have 25 parameters. But only roughly 50 of these calls
belong to the first iteration. The others belong to gradient
determination at the final position, i.e. after the last iteration,
which is done because you requested the computation of additional
output arguments ('corp', ...).

Olaf

------------------------------------------------------------------------------

_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to