class_docstr: Element of a finite extension.
  
  A class of univariate polynomials modulo the ``modulus``
  of the extension ``ext``. It is represented by the
  unique polynomial ``rep`` of lowest degree. Both
  ``rep`` and the representation ``mod`` of ``modulus``
  are of class DMP.
class_docstr_tok: ["Element","of","a","finite","extension",".","A","class","of","univariate","polynomials","modulo","the","``","modulus","``","of","the","extension","``","ext","``",".","It","is","represented","by","the","unique","polynomial","``","rep","``","of","lowest","degree",".","Both","``","rep","``","and","the","representation","``","mod","``","of","``","modulus","``","are","of","class","DMP","."]
code: def __init__(self, rep, ext):
      self.rep = rep
      self.ext = ext
  
imports: from sympy.polys.domains.domain import Domain
  from sympy.polys.domains.domainelement import DomainElement
  from sympy.polys.polyerrors import CoercionFailed, NotInvertible, GeneratorsError
  from sympy.polys.polytools import Poly
  from sympy.printing.defaults import DefaultPrinting
label_desc: Use image node_id 1 to create a new ExtensionElement object from inherited base classes: DomainElement, DefaultPrinting with example: obj = ExtensionElement(rep, ext)