Skip to content

Commit 82d9d87

Browse files
Update index.md
Just added the import of jacobian from AbstractDifferentiation.jl
1 parent 20e7f32 commit 82d9d87

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Please see the AbstractDifferentiation.jl docs for detailed usage.
1414
```@jldoctest
1515
julia> using Diffractor: DiffractorForwardBackend
1616
17-
julia> using AbstractDifferentiation: derivative
17+
julia> using AbstractDifferentiation: derivative, jacobian
1818
1919
julia> derivative(DiffractorForwardBackend(), +, 1.5, 10.0)
2020
(1.0, 1.0)
@@ -31,4 +31,4 @@ julia> jacobian(DiffractorForwardBackend(), identity, [1.5, 2.5, 10.0]) |> only
3131
1.0 0.0 0.0
3232
0.0 1.0 0.0
3333
0.0 0.0 1.0
34-
```
34+
```

0 commit comments

Comments
 (0)