Applying algorithmic differentiation manually to a given code can be cumbersome and error-prone, especially if the code exceeds a few hundred lines.
The two main approaches for automatic AD are covered in this video, namely source code transformation and operator overloading. The advantages and disadvantages for each approach are highlighted and examples are given in live demonstrations.
More in this Series: