-
The value constructor now takes an object of type GEnergy for the pivot energy. Methods have been added to access are three model parameters. Evaluation caches have been added to support the eval(), eval_gradients() and mc() methods. This speeds up evaluation of the spectrum, in particular for binned analysis, and the simulation of photons.
-
The eval_gradients() method is no longer const to reflect the fact that the method explicitly sets the gradient attribute of the model parameters.
-
The autoscale() method has been removed as it exists now in the GModelSpectral() base class. The parameter constructor now calls autoscale() to perform an autoscaling of all model parameters.