Source transformation for MATLAB automatic differentiation

  • Authors:
  • Rahul V. Kharche;Shaun A. Forth

  • Affiliations:
  • Cranfield University, Swindon, UK;Cranfield University, Swindon, UK

  • Venue:
  • ICCS'06 Proceedings of the 6th international conference on Computational Science - Volume Part IV
  • Year:
  • 2006

Quantified Score

Hi-index 0.01

Visualization

Abstract

We present MSAD, a source transformation implementation of forward mode automatic differentiation for MATLAB. MSAD specialises and inlines operations from the fmad and derivvec classes of the MAD package. The operator overloading overheads inherent in MAD are eliminated while preserving the derivvec class’s optimised derivative combination operations. Compared to MAD, results from several test cases demonstrate significant improvement in efficiency across all problem sizes.