Skip to content

Commit 410c999

Browse files
Add JVP functions to API documentation
- Added finite_difference_jvp and finite_difference_jvp! to docs - Added JVPCache documentation section - Included explanation of JVP functionality and use cases - Documentation now builds cleanly without warnings 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 18e838e commit 410c999

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/src/api.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,14 @@ FiniteDiff.HessianCache
5656
```
5757

5858
Hessians are for functions `f(x)` which return a scalar.
59+
60+
## Jacobian-Vector Products (JVP)
61+
62+
```@docs
63+
FiniteDiff.finite_difference_jvp
64+
FiniteDiff.finite_difference_jvp!
65+
FiniteDiff.JVPCache
66+
```
67+
68+
JVP functions compute the Jacobian-vector product `J(x) * v` efficiently without computing the full Jacobian matrix. This is particularly useful when you only need directional derivatives.
69+

0 commit comments

Comments
 (0)