def __init__(self, n, R=ZZ, names=None): """ EXAMPLES:: sage: ProjectiveSpace(3, Zp(5), 'y') Projective Space of dimension 3 over 5-adic Ring with capped relative precision 20 """ names = normalize_names(n + 1, names) AmbientSpace.__init__(self, n, R) self._assign_names(names)
def __init__(self, n, R, names): """ EXAMPLES:: sage: AffineSpace(3, Zp(5), 'y') Affine Space of dimension 3 over 5-adic Ring with capped relative precision 20 """ names = normalize_names(n, names) AmbientSpace.__init__(self, n, R) self._assign_names(names)
def __init__(self, n, R=ZZ, names=None): """ EXAMPLES:: sage: ProjectiveSpace(3, Zp(5), 'y') Projective Space of dimension 3 over 5-adic Ring with capped relative precision 20 """ names = normalize_names(n+1, names) AmbientSpace.__init__(self, n, R) self._assign_names(names)