Given a group
The group consists of matrices of the form
where
For instance, to implement the group
you can use
using MultiAffine
using Manifolds
G = MultiAffineGroup(Unitary(2), 2)
identity_element(G) # ([0.0 0.0; 0.0 0.0], ComplexF64[1.0 + 0.0im 0.0 + 0.0im; 0.0 + 0.0im 1.0 + 0.0im])
When the group MultiDisplacementGroup(n,k)
to implement the group
This has the same effect as calling MultiAffineGroup(SpecialOrthogonal(n), k)
.
G = MultiDisplacementGroup(3,2)
identity_element(G) # ([0.0 0.0; 0.0 0.0; 0.0 0.0], [1.0 0.0 0.0; 0.0 1.0 0.0; 0.0 0.0 1.0])