Skip to content

Commit

Permalink
Fix a typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
kellertuer committed Aug 4, 2024
1 parent c64f94a commit dd8e9e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/plans/hessian_plan.jl
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,9 @@ abstract type AbstractApproxHessian <: Function end

_doc_ApproxHessian_formula = raw"""
```math
\operatorname{Hess}F(p)[X] ≈
\operatorname{Hess}f(p)[X] ≈
\frac{\lVert X \rVert_p}{c}\Bigl(
\mathcal T_{p\gets q}\bigr(\operatorname{grad}F(q)\bigl) - \operatorname{grad}F(p)
\mathcal T_{p\gets q}\bigr(\operatorname{grad}f(q)\bigl) - \operatorname{grad}f(p)
\Bigl)
```
"""
Expand All @@ -216,7 +216,7 @@ _doc_ApproxHessian_step = raw"\operatorname{retr}_p(\frac{c}{\lVert X \rVert_p}X
A functor to approximate the Hessian by a finite difference of gradient evaluation.
Given a point `p` and a direction `X` and the gradient ````
Given a point `p` and a direction `X` and the gradient ``$(_l_grad) f(p)``
of a function ``f`` the Hessian is approximated as follows:
let ``c`` be a stepsize, ``X ∈ $(_l_TpM())`` a tangent vector and ``q = $_doc_ApproxHessian_step``
be a step in direction ``X`` of length ``c`` following a retraction
Expand Down

0 comments on commit dd8e9e1

Please sign in to comment.