'Express ``e`` in terms of the generators of ``self``.
>>> from sympy.abc import x
>>> from sympy import QQ
>>> I = QQ.old_poly_ring(x).ideal(x**2 + 1, x)
>>> I.in_terms_of_generators(1)
[1, -x]'

def in_terms_of_generators(self, e):

    return self._module.in_terms_of_generators([e])
