class_docstr: Ideal implementation relying on the modules code.
  
  Attributes:
  
  - _module - the underlying module
class_docstr_tok: ["Ideal","implementation","relying","on","the","modules","code",".","Attributes",":","-","_module","-","the","underlying","module"]
docstr: Express ``e`` in terms of the generators of ``self``.
  
  Examples
  ========
  
  >>> 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)  # doctest: +SKIP
  [DMP_Python([1], QQ), DMP_Python([-1, 0], QQ)]
docstr_tok: ["Express","``","e","``","in","terms","of","the","generators","of","``","self","``",".","Examples","========",">",">",">","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",")","#","doctest",":","+SKIP","[","DMP_Python","(","[","1","]",",","QQ",")",",","DMP_Python","(","[","-1",",","0","]",",","QQ",")","]"]
code: def in_terms_of_generators(self, e):
      """
      Express ``e`` in terms of the generators of ``self``.
  
      Examples
      ========
  
      >>> 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)  # doctest: +SKIP
      [DMP_Python([1], QQ), DMP_Python([-1, 0], QQ)]
      """
      return self._module.in_terms_of_generators([e])
  
imports: from sympy.polys.polyerrors import CoercionFailed
  from sympy.polys.polyutils import IntegerPowerable
label_desc: Use image node_id 12 for calling the ModuleImplementedIdeal obj's underlying member method code with example usage: obj.in_terms_of_generators(e) and returns: self