Introduction to Algorithmic Differentiation (AD I)
Contents
- Welcome [video] [slides]
- Derivative code by overloading
- univariate scalar differentiable programs
- multivariate vector-valued differentiable programs
- motivation. essential calculus. finite differences [video_1] [video_2] [slides] [code] (week 4)
- first-order tangent code [video_1] [video_2] [slides] [code] (week 5)
- second- and higher-order tangent code [video] [slides] [code] (week 6)
- first-order adjoint [video_1] [video_2] [slides] [code] (week 7)
- second- and higher-order adjoint [video] [slides] [code] (week 8)
- Derivative code by hand
- Derivative code by automatic source transformation
Disclaimer: Numerical results obtained during some finite difference experiments (1.2.1. and 1.2.2.) turned out to be erroneous due to hardware problems (now sorted). Correct results should be produced on your own computers. Comments about deviations of finite differences from tangent and adjoint results made in the video to be taken with a "grain of salt".