(self, dummy=True)
Reset self to an initial state.  Used by __init__.
Reset self to an initial state.  Used by __init__.
Reset self to an initial state . Used by __init__ .
def reset(self, dummy=True):
        """
        Reset self to an initial state.  Used by __init__.
        """
        self.t = self.x
        self.T = [self.x]
        self.D = [Poly(1, self.x)]
        self.level = -1
        self.L_K, self.E_K, self.L_args, self.E_args = [], [], [], []
        if dummy:
            self.ts = numbered_symbols('t', cls=Dummy)
        else:
            # For testing
            self.ts = numbered_symbols('t')
        # For various things that we change to make things work that we need to
        # change back when we are done.
        self.backsubs = []
        self.Tfuncs = []
        self.newf = self.f
def reset ( self , dummy = True ) : self . t = self . x self . T = [ self . x ] self . D = [ Poly ( 1 , self . x ) ] self . level = - 1 self . L_K , self . E_K , self . L_args , self . E_args = [ ] , [ ] , [ ] , [ ] if dummy : self . ts = numbered_symbols ( 't' , cls = Dummy ) else : # For testing self . ts = numbered_symbols ( 't' ) # For various things that we change to make things work that we need to # change back when we are done. self . backsubs = [ ] self . Tfuncs = [ ] self . newf = self . f