Le vendredi 26 juin 2009 à 13:26 +0100, G. Perendia a écrit :
Can the preprocessor identify and set the number of the non-zero items in the Hessian as, e.g.:
M_.sparse_hessian_len
It's done.
The structure is M_.NNZDerivatives. It is a 3 elements vectors with non-zero derivatives for first, second and third order derivatives. So you're interested in M_.NNZDerivatives(2).
Best,