File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -115,13 +115,20 @@ We do not have to worry about what to return for the side where it is not define
115115As we will never be asked for the derivative at e.g. ` x=-2.5 ` since the primal function errors.
116116But we do need to worry about at the boundary -- if that boundary point doesn't error.
117117
118+ Since we will never be asked about the left-hand side (as the primal errors), we can use just the right-hand side derivative.
119+ In this case giving 0.0.
120+ `
121+ Also nice in this case is that it agrees with the symbolic simplification of ` x->exp(2log(x)) ` into ` x->x^2 ` .
122+
123+
124+
118125### Not defined on one side, non-finite on the other
119126``` @example nondiff
120127plot(log)
121128```
122129
123130### sub/super-differential convention
124- ** TODO: Incorperate this with rest of the document.
131+ ** TODO: Incorperate this with rest of the document. Or move to design notes **
125132
126133Instead we introduce what we call the ** sub/super-differential convention** :
127134
You can’t perform that action at this time.
0 commit comments