def union(self, other): """ Return the union of ``self`` and ``other``. EXAMPLES:: sage: x,y,z = PolynomialRing(QQ, 3, names='x,y,z').gens() sage: C1 = Curve(z - x) sage: C2 = Curve(y - x) sage: C1.union(C2).defining_polynomial() x^2 - x*y - x*z + y*z """ from .constructor import Curve return Curve(AlgebraicScheme_subscheme.union(self, other))
def union(self, other): """ Return the union of ``self`` and ``other``. EXAMPLES:: sage: x,y,z = PolynomialRing(QQ, 3, names='x,y,z').gens() sage: C1 = Curve(z - x) sage: C2 = Curve(y - x) sage: C1.union(C2).defining_polynomial() x^2 - x*y - x*z + y*z """ from constructor import Curve return Curve(AlgebraicScheme_subscheme.union(self, other))
def union(self, other): from constructor import Curve return Curve(AlgebraicScheme_subscheme.union(self, other))