def dimension(self): if self.base.dimension == oo: return oo else: return self.base.dimension**self.exp