Slide 3
Slide 3 text
What is Automatic
Differentiation?
But what is it? An example in Haskell:
λ> let sin' = int cos'
λ> let cos' = 1 - int sin'
λ> take 5 $ sin'
[0 % 1,1 % 1,0 % 1,(-1) % 6,0 % 1,
1 % 120,0 % 1,(-1) % 5040,0 % 1,1 % 362880]
λ> take 5 $ cos'
[1 % 1,0 % 1,(-1) % 2,0 % 1,1 % 24,
0 % 1,(-1) % 720,0 % 1,1 % 40320,0 % 1]
Exact and fast! Plus no ugly subscripts :)
3