def __init__(self, n, dimension, algebra): ''' Initializes the Lie group. :param n: dimension of the matrix group. :param algebra: instance of :py:class:MatrixLieAlgebra ''' DifferentiableManifold.__init__(self, dimension=dimension) self.n = n self.algebra = algebra assert self.algebra.n == self.n from . import MatrixLieGroupTangent self._tangent_bundle_algebra_rep = MatrixLieGroupTangent(self)
def __init__(self, base_group): assert isinstance(base_group, MatrixLieGroup) self.base = base_group dimension = 2 * base_group.get_dimension() DifferentiableManifold.__init__(self, dimension=dimension)
def __init__(self, n): DifferentiableManifold.__init__(self, dimension=n) self.n = n