From: Love U Ruby Date: 2013-07-06T03:25:18+09:00 Subject: what is Vector#map2 ? Hi, Can anyone give me one example to understand the functionality of Vector#map2(http://yard.ruby-doc.org/stdlib-2.0/Vector.html#collect2-instance_method). I understand the Vector#map. require 'matrix' a = [1, 2, 3, 4] m = Vector[*a] # => Vector[1, 2, 3, 4] m.map{|i| i * i } # => Vector[1, 4, 9, 16] -- Posted via http://www.ruby-forum.com/.