From ce01139ad16178b154d6c46043e2de1848cd4a69 Mon Sep 17 00:00:00 2001 From: Ronny Bergmann Date: Wed, 15 Jan 2025 10:03:10 +0100 Subject: [PATCH] Reintroduce a function on Lie Groups --- src/interface.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/interface.jl b/src/interface.jl index 445386bc..c802c45a 100644 --- a/src/interface.jl +++ b/src/interface.jl @@ -827,6 +827,8 @@ end ManifoldsBase.manifold_dimension(G::LieGroup) = manifold_dimension(G.manifold) +ManifoldsBase.norm(G::LieGroup, g, X) = norm(G.manifold, identity_element(G, typeof(g)), X) + ManifoldsBase.project!(G::LieGroup, h, g) = project!(G.manifold, h, g) # Since tangent vectors are always in the Lie algebra – do project always on TeG function ManifoldsBase.project!(G::LieGroup, Y, g, X)