Combining source transformation and operator overloading techniques to compute derivatives for MATLAB programs. Bischof, C., Bucker, H., Lang, B., Rasch, A., & Vehreschild, A. In Proceedings of the 2nd IEEE International Workshop on Source Code Analysis and Manipulation, 2002., pages 65–72, 2002.
doi  abstract   bibtex   
Derivatives of mathematical functions play a key role in various areas of numerical and technical computing. Many of these computations are done in MATLAB, a popular environment for technical computing providing engineers and scientists with capabilities for mathematical computing, analysis, visualization, and algorithmic development. For functions written in the MATLAB language, a novel software tool is proposed to automatically transform a given MATLAB program into another MATLAB program capable of computing not only the original function but also user-specified derivatives of that function. That is, a program transformation known as automatic differentiation is performed to change the semantics of the program in a fashion based on the chain rule of differential calculus. The crucial ingredient of the tool is a combination of source-to-source transformation and operator overloading. The overall design of the tool is described and numerical experiments are reported demonstrating the efficiency of the resulting code for a sample problem.
@InProceedings{Bischof2002,
    author      = {Bischof, C.H. and Bucker, H.M. and Lang, B. and Rasch, A. and Vehreschild, A.},
    title       = {Combining source transformation and operator overloading techniques to compute derivatives for MATLAB programs},
    booktitle   = {Proceedings of the 2nd IEEE International Workshop on Source Code Analysis and Manipulation, 2002.},
    doi         = {10.1109/SCAM.2002.1134106},
    pages       = {65--72},
    year        = {2002},
    abstract    = {Derivatives of mathematical functions play a key role in various areas of numerical and technical computing. Many of these computations are done in MATLAB, a popular environment for technical computing providing engineers and scientists with capabilities for mathematical computing, analysis, visualization, and algorithmic development. For functions written in the MATLAB language, a novel software tool is proposed to automatically transform a given MATLAB program into another MATLAB program capable of computing not only the original function but also user-specified derivatives of that function. That is, a program transformation known as automatic differentiation is performed to change the semantics of the program in a fashion based on the chain rule of differential calculus. The crucial ingredient of the tool is a combination of source-to-source transformation and operator overloading. The overall design of the tool is described and numerical experiments are reported
                  demonstrating the efficiency of the resulting code for a sample problem.}
}

Downloads: 0