Skip to main content
Article thumbnail
Location of Repository

Source Transformation for MATLAB Automatic Differentiation.

By Rahul V. Kharche and Shaun A. Forth


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

Publisher: Springer-Verlag
Year: 2005
DOI identifier: 10.1007/11758549_77
OAI identifier:
Provided by: Cranfield CERES

Suggested articles


  1. (1999). A case for source-level transformations in MATLAB. In: doi
  2. (1996). A.: ADIFOR 2.0: Automatic Differentiation of Fortran 77 Programs. doi
  3. (1998). A.: ADMAT: An automatic differentiation toolbox for MATLAB. doi
  4. (2002). A.: Combining source transformation and operator overloading techniques to compute derivatives for MATLAB programs. In: doi
  5. (2005). An efficient overloaded implementation of forward mode automatic differentiation in MATLAB. doi
  6. (2005). An efficient, validated implementation of the MINPACK-2 test problem collection in MATLAB.
  7. (1995). ANTLR: A predicated LL(k) parser generator. doi
  8. (2000). Evaluating Derivatives: Principles and Techniques of Algorithmic Differentiation. doi
  9. (1997). Newton’s method for large-scale optimization.
  10. (2003). Partial evaluation of MATLAB. In: doi
  11. (2004). Source transformation for automatic differentiation in MATLAB. Master’s thesis, doi
  12. (2005). Source transformation for MATLAB automatic differentiation. doi
  13. (1999). Techniques for the translation of MATLAB programs into Fortran 90. doi
  14. (2005). The MathWorks Inc. 24 Prime Park Way,
  15. (1991). User guide for the MINPACK-2 test problem collection. doi

To submit an update or takedown request for this paper, please submit an Update/Correction/Removal Request.