Abstract
In a neutron scattering application, an unconstrained nonlinear minimization problem is used for the fitting of model parameters to experimental data. Automatic differentiation enables, in a completely mechanical fashion, algorithmic changes by switching from a quasi-Newton method, where first order derivatives are approximated by finite differences, to a modified Gauss-Newton method using exact first order derivatives. Compared to the original code, the code generated by this black box approach produces reliable results rather than results of dubious quality. This approach also is faster in terms of execution time. Its performance is improved further by replacing the most time-consuming subroutine involved in the derivative evaluation by a surprisingly simple, hand-coded implementation of the corresponding analytic expression.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2002 Springer Science+Business Media New York
About this chapter
Cite this chapter
Bischof, C.H., Bücker, H.M., an Mey, D. (2002). A Case Study of Computational Differentiation Applied to Neutron Scattering. In: Corliss, G., Faure, C., Griewank, A., Hascoët, L., Naumann, U. (eds) Automatic Differentiation of Algorithms. Springer, New York, NY. https://doi.org/10.1007/978-1-4613-0075-5_6
Download citation
DOI: https://doi.org/10.1007/978-1-4613-0075-5_6
Published:
Publisher Name: Springer, New York, NY
Print ISBN: 978-1-4612-6543-6
Online ISBN: 978-1-4613-0075-5
eBook Packages: Springer Book Archive