# File vector_old.rb, line 7 def -(a) diff = Vector.new self.each_index{|k| diff[k] = self[k]-a[k]} diff end