Skip to main content

A Case Study of Computational Differentiation Applied to Neutron Scattering

  • Chapter
  • First Online:
Automatic Differentiation of Algorithms

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 54.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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

Publish with us

Policies and ethics