News for hackers. Stuff that matters.
Re:Automatic Differentiation via Contour Integration by abecedarius on Saturday January 18, 2020 @02:30PM (#22086495)
There's a more leisurely blog-post-style explanation of this complex-variable trick at https://codewords.recurse.com/issues/four/hack-the-derivativ...
Re:Automatic Differentiation via Contour Integration by improbable22 on Saturday January 18, 2020 @04:47PM (#22087505)
That's neat. It's perhaps worth mentioning that this trick is only needed when your computer understands complex numbers (1,i) but not dual numbers (1,ε), where i^2 = -1 but ε^2 = 0.