diff --git a/lib/matrix.rb b/lib/matrix.rb index 360e79f3cc..3c078c0c06 100644 --- a/lib/matrix.rb +++ b/lib/matrix.rb @@ -1764,15 +1764,6 @@ class Vector end alias map collect - # - # Like Vector#collect2, but returns a Vector instead of an Array. - # - def map2(v, &block) # :yield: e1, e2 - return to_enum(:map2, v) unless block_given? - els = collect2(v, &block) - Vector.elements(els, false) - end - # # Returns the modulus (Pythagorean distance) of the vector. # Vector[5,8,2].r => 9.643650761