TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Not-o-matic Differentiation

50 pointsby jxubover 6 years ago

3 comments

joe_the_userover 6 years ago
I&#x27;m trying to figure why the person making the post failed. There are existing Haskell libraries for automatic differentiation [1].<p>As opposed to ordinary symbolic differentiation or numerical differentiation, automatic differentiation is a method that takes the code of a function and a value and returns the derivative of the function at run time.<p>Of course, the author is working with a vector library and so his version will take N-dimension vectors&#x2F;tensors and a functions of these and return N+something dimension vectors&#x2F;tensors. That part is kind of head spinning and I assume that&#x27;s where things fell apart.<p>[1] <a href="http:&#x2F;&#x2F;hackage.haskell.org&#x2F;package&#x2F;ad" rel="nofollow">http:&#x2F;&#x2F;hackage.haskell.org&#x2F;package&#x2F;ad</a>
评论 #18793328 未加载
评论 #18794257 未加载
eastWestMathover 6 years ago
There’s a fairly large body of work on the differential lambda calculus that you seem to have missed...
评论 #18793547 未加载
mleventalover 6 years ago
this might be the right place to ask: can you differentiate a recursively defined function?
评论 #18793096 未加载
评论 #18792867 未加载
评论 #18793111 未加载
评论 #18793044 未加载
评论 #18792881 未加载