Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is X supposed to be in riemannian_Hessian? #42

Closed
Vaibhavdixit02 opened this issue May 23, 2024 · 1 comment
Closed

What is X supposed to be in riemannian_Hessian? #42

Vaibhavdixit02 opened this issue May 23, 2024 · 1 comment

Comments

@Vaibhavdixit02
Copy link

Here

function riemannian_Hessian!(M::AbstractManifold, Y, p, eG, eH, X)
I am not sure what the X needs to be initialized as?

@kellertuer
Copy link
Member

kellertuer commented May 23, 2024

On the manifold M at a point p, X is a tangent vector to p.
WE do not implement Hessians as a matrix (because that is hard to do when most representations are a bit larger than the manifold dimension), but We write Hessians as how they act on a incoming derivative direction. See also Definition 5.14 in https://www.nicolasboumal.net/book/IntroOptimManifolds_Boumal_2023.pdf (p. 95).
Of course Y is the in-place variant (also a tangent vector) for the result.

To mention the rest: eH is the Euclidean Hessian at (the embedding of) p in direction of (the embedding of) X, eG is the Euclidean Gradient at p (so another tangent vector).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants