def ideal(self, *gens):
        from sympy.polys.agca.ideals import ModuleImplementedIdeal
        return ModuleImplementedIdeal(self, self.free_module(1).submodule(
            *[[x] for x in gens]))
Generate an ideal of ``self``.
dataset/ETHPy150Open sympy/sympy/sympy/polys/domains/ring.py/Ring.ideal