File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,16 @@ Further:
64
64
plot(x-> x < 0 ? x : 5x)
65
65
```
66
66
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
+
67
77
### Derivative zero almost everywhere
68
78
69
79
``` @example nondiff
@@ -75,9 +85,7 @@ plot(ceil)
75
85
``` @example nondiff
76
86
plot(cbrt)
77
87
```
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.)
81
89
### Primal and derivative Non-finite and same on both sides
82
90
``` @example nondiff
83
91
plot(x->inv(x^2))
You can’t perform that action at this time.
0 commit comments