Skip to content

Commit

Permalink
Update 0_intro.jl (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
pitmonticone authored Aug 21, 2023
1 parent 8ec0ad5 commit 7ca66fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/0_intro.jl
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ We represent it using a type called `ImplicitFunction`, which you will see in ac
=#

#=
First we define a forward mapping correponding to the function we consider.
First we define a forward mapping corresponding to the function we consider.
It returns the actual output $y(x)$ of the function, and can be thought of as a black box solver.
Importantly, this Julia callable _doesn't need to be differentiable by automatic differentiation packages but the underlying function still needs to be mathematically differentiable_.
=#
Expand Down Expand Up @@ -121,7 +121,7 @@ implicit(x) ≈ sqrt.(x)
@test implicit(x) sqrt.(x) #src

#=
And when we try to compute its Jacobian, the [implicit function theorem](https://en.wikipedia.org/wiki/Implicit_function_theorem) is applied in the background to circumvent the lack of differentiablility of the forward mapping.
And when we try to compute its Jacobian, the [implicit function theorem](https://en.wikipedia.org/wiki/Implicit_function_theorem) is applied in the background to circumvent the lack of differentiability of the forward mapping.
=#

# ## Forward and reverse mode autodiff
Expand Down

0 comments on commit 7ca66fc

Please sign in to comment.