(self, J)
return self._intersect(J)
Compute the intersection of self with ideal J.

        >>> from sympy.abc import x, y
        >>> from sympy import QQ
        >>> R = QQ.old_poly_ring(x, y)
        >>> R.ideal(x).intersect(R.ideal(y))
        <x*y>
Compute the intersection of self with ideal J.
Compute the intersection of self with ideal J .
def intersect(self, J):
        """
        Compute the intersection of self with ideal J.

        >>> from sympy.abc import x, y
        >>> from sympy import QQ
        >>> R = QQ.old_poly_ring(x, y)
        >>> R.ideal(x).intersect(R.ideal(y))
        <x*y>
        """
        self._check_ideal(J)
        return self._intersect(J)
def intersect ( self , J ) : self . _check_ideal ( J ) return self . _intersect ( J )