(self)
return outvec
Returns a simplified Vector.
Returns a simplified Vector.
Returns a simplified Vector .
def simplify(self):
        """Returns a simplified Vector."""
        outvec = Vector(0)
        for i in self.args:
            outvec += Vector([(i[0].simplify(), i[1])])
        return outvec
def simplify ( self ) : outvec = Vector ( 0 ) for i in self . args : outvec += Vector ( [ ( i [ 0 ] . simplify ( ) , i [ 1 ] ) ] ) return outvec