Manifolds.jl icon indicating copy to clipboard operation
Manifolds.jl copied to clipboard

Extend `identity_element` to more manifolds

Open mateuszbaran opened this issue 2 years ago • 8 comments

See https://github.com/JuliaRobotics/IncrementalInference.jl/issues/1527 for discussion.

mateuszbaran avatar Jun 01 '22 16:06 mateuszbaran

Isn't this already resolved now with #503 ?

kellertuer avatar Jul 22 '22 13:07 kellertuer

No, these two things are unrelated.

mateuszbaran avatar Jul 22 '22 13:07 mateuszbaran

AH, ok, then I mixed that up.

kellertuer avatar Jul 22 '22 13:07 kellertuer

But still, to be precise I would only like to add identity_element to Lie groups to be precise?

kellertuer avatar Jul 22 '22 13:07 kellertuer

I think the idea would be to also define identity_element to manifolds that can have a group structure but I'm not sure it's a good idea anyway.

mateuszbaran avatar Jul 22 '22 13:07 mateuszbaran

I see that point, but I would prefer to be a little more precise. For example if the have GL(n) which has as manifold Euclidean(n,n) (not all of that, ok, I am not creative enough just now for a better example) what is the right identity? For GL(n) it would ne matrix multiplication so I but for the translation group on Euclidean(n,n) its zeros(n,n). So just the manifold might not be enough to know the group structure and hence the identity element?

kellertuer avatar Jul 22 '22 13:07 kellertuer

I don't think we currently have multiple groups structures with different identity elements (Euclidean and GL are topologically different) but in the future we could encounter such case, right.

mateuszbaran avatar Jul 22 '22 13:07 mateuszbaran

Yes (that's why I was lazy with an example).

kellertuer avatar Jul 22 '22 14:07 kellertuer