(self, dom)
Sets a new domain for the optimizer.
        
        Resets the initial points to the middle of the domain.
        
        :param dom: new :class:'~.domain.Domain`
Sets a new domain for the optimizer.
        
        Resets the initial points to the middle of the domain.
        
        :param dom: new :class:'~.domain.Domain`
Sets a new domain for the optimizer . Resets the initial points to the middle of the domain . : param dom : new : class : ~ . domain . Domain
def domain(self, dom):
        """
        Sets a new domain for the optimizer.
        
        Resets the initial points to the middle of the domain.
        
        :param dom: new :class:'~.domain.Domain` 
        """
        self._domain = dom
        self.set_initial(dom.value)
def domain ( self , dom ) : self . _domain = dom self . set_initial ( dom . value )