Givens rotation matrix in arbitrary dimensions.
dim (int) – spatial dimension
plane (list of int) – the plane to rotate in, given by the indices of the two defining axes.
For example the xy plane is defined by (0,1)
angle (float or list) – the rotation angle in the given plane