# 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 tangent [video] [slides] [code] (
**week 8**)

- motivation. essential calculus. finite differences [video_1] [video_2] [slides] [code] (

- Derivative code by hand
- tangent code; adjoint straight-line code [video] [slides] [code] (
**week 9**) - adjoint code (intra-/interprocedural control-flow reversal) [video] [slides] [code] (
**week 10**) - Hello AD World [video] [slides] [code] (
**week 11**)

- tangent code; adjoint straight-line code [video] [slides] [code] (
- Derivative code by automatic source transformation

- lexical and syntax analysis [video] [slides] [code] (
**week 12**) - attribute grammars and syntax-directed translation [video] [slides] [code] (
**week 13**) - syntax-directed derivative code [video] [slides] [code] (
**week 14**)

- lexical and syntax analysis [video] [slides] [code] (

**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".