File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -64,6 +64,16 @@ Further:
6464plot(x-> x < 0 ? x : 5x)
6565```
6666
67+ Here was have 3 main options, all are good.
68+ We could say there derivative at 0 is
69+ - 1: which agrees with backwards finite differencing
70+ - 5: which agrees with fowards finite differencing
71+ - 3: which is the mean of ` [1, 5] ` , and agrees with central finite differencing
72+
73+ All of these options are perfectly nice members of the [ subderivative] ( https://en.wikipedia.org/wiki/Subderivative ) .
74+ Saying it is ` 3 ` is the arguably the nicest, but it is also the most expensive to compute; and it will
75+
76+
6777### Derivative zero almost everywhere
6878
6979``` @example nondiff
@@ -75,9 +85,7 @@ plot(ceil)
7585``` @example nondiff
7686plot(cbrt)
7787```
78-
79-
80- (derivative nonfinite and different on each side is not possible with a finite and defined primal.)
88+ s(derivative nonfinite and different on each side is not possible with a finite and defined primal.)
8189### Primal and derivative Non-finite and same on both sides
8290``` @example nondiff
8391plot(x->inv(x^2))
You can’t perform that action at this time.
0 commit comments