Derivative of a Higher-Order Function
Posted
by Claudiu
on Stack Overflow
See other posts from Stack Overflow
or by Claudiu
Published on 2008-11-26T15:18:58Z
Indexed on
2010/04/30
19:17 UTC
Read the original article
Hit count: 377
This is in the context of Automatic Differentiation - what would such a system do with a function like map
, or filter
- or even one of the SKI Combinators?
Example: I have the following function:
def func(x):
return sum(map(lambda a: a**x, range(20)))
What would its derivative be? What will an AD system yield as a result? (This function is well-defined on real-number inputs).
© Stack Overflow or respective owner