(self, a)
return self.dtype(self, self.base_ideal.reduce_element(a))
Construct an element of `self` domain from `a`.
Construct an element of `self` domain from `a`.
Construct an element of self domain from a .
def new(self, a):
        """Construct an element of `self` domain from `a`. """
        if not isinstance(a, self.ring.dtype):
            a = self.ring(a)
        # TODO optionally disable reduction?
        return self.dtype(self, self.base_ideal.reduce_element(a))
def new ( self , a ) : if not isinstance ( a , self . ring . dtype ) : a = self . ring ( a ) # TODO optionally disable reduction? return self . dtype ( self , self . base_ideal . reduce_element ( a ) )