You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/0_intro.jl
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -81,17 +81,17 @@ We represent it using a type called [`ImplicitFunction`](@ref), which you will s
81
81
=#
82
82
83
83
#=
84
-
First we define a forward mapping corresponding to the function we consider.
84
+
First we define a `forward` mapping corresponding to the function we consider.
85
85
It returns the actual output $y(x)$ of the function, and can be thought of as a black box solver.
86
-
Importantly, this Julia callable _doesn't need to be differentiable by automatic differentiation packages but the underlying function still needs to be mathematically differentiable_.
86
+
Importantly, this Julia callable doesn't need to be differentiable by automatic differentiation packages but the underlying function still needs to be mathematically differentiable.
87
87
=#
88
88
89
89
forward(x) =badsqrt(x);
90
90
91
91
#=
92
92
Then we define `conditions` $c(x, y) = 0$ that the output $y(x)$ is supposed to satisfy.
93
93
These conditions must be array-valued, with the same size as $y$.
94
-
Unlike the forward mapping, _the conditions need to be differentiable by automatic differentiation packages_ with respect to both $x$ and $y$.
94
+
Unlike the forward mapping, the conditions need to be differentiable by automatic differentiation packages with respect to both $x$ and $y$.
95
95
Here the conditions are very obvious: the square of the square root should be equal to the original value.
0 commit comments