Bases: sage.structure.element.Element
Base class for points on a scheme, either topological or defined by a morphism.
Return the scheme on which self is a point.
EXAMPLES:
sage: from sage.schemes.generic.point import SchemePoint
sage: S = Spec(ZZ)
sage: P = SchemePoint(S)
sage: P.scheme()
Spectrum of Integer Ring
Bases: sage.schemes.generic.point.SchemePoint
Bases: sage.schemes.generic.point.SchemeTopologicalPoint
Bases: sage.schemes.generic.point.SchemeTopologicalPoint
Return the prime ideal that defines this scheme point.
EXAMPLES:
sage: from sage.schemes.generic.point import SchemeTopologicalPoint_prime_ideal
sage: P2.<x, y, z> = ProjectiveSpace(2, QQ)
sage: pt = SchemeTopologicalPoint_prime_ideal(P2, y*z-x^2)
sage: pt.prime_ideal()
Principal ideal (-x^2 + y*z) of Multivariate Polynomial Ring in x, y, z over Rational Field