Skip to content

Commit 4cfd8a1

Browse files
committed
wip
1 parent 4a7f0b4 commit 4cfd8a1

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

docs/src/nondiff_points.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,13 +115,20 @@ We do not have to worry about what to return for the side where it is not define
115115
As we will never be asked for the derivative at e.g. `x=-2.5` since the primal function errors.
116116
But 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
120127
plot(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

126133
Instead we introduce what we call the **sub/super-differential convention**:
127134

0 commit comments

Comments
 (0)