(self, i)
return subs_i
Builds a map from x to x@i and from x' to x@(i+1), for all x in system.
Builds a map from x to x
Builds a map from x to x
def get_subs(self, i):
        """Builds a map from x to x@i and from x' to x@(i+1), for all x in system."""
        subs_i = {}
        for v in self.system.variables:
            subs_i[v] = at_time(v, i)
            subs_i[next_var(v)] = at_time(v, i+1)
        return subs_i
def get_subs ( self , i ) : subs_i = { } for v in self . system . variables : subs_i [ v ] = at_time ( v , i ) subs_i [ next_var ( v ) ] = at_time ( v , i + 1 ) return subs_i