[Gretl-devel] numerical_hessian

Sven Schreiber svetosch at gmx.net
Thu May 5 08:36:12 EDT 2011


Am 05.05.2011 05:11, schrieb Allin Cottrell:

> 
> This is a cautionary tale: it can be more difficult that you'd
> think, converting code from 1-based indexing to 0-based, when you
> have nested loops to handle!
> 

Thinking about it in retrospect, I'm actually surprised that a C-coder
like you chose 1-based indexing for gretl's language. But it probably
helps the average user a lot. I remember that on the python-numpy list
(python is 0-based) this used to be a repeated issue raised by new
users, many coming from Matlab.

-sven


More information about the Gretl-devel mailing list