= private = protected
map2(v)
Like Vector#collect2, but returns a Vector instead of an Array.
# File lib/matrix.rb, line 1779 def map2(v, &block) # :yield: e1, e2 return to_enum(:map2, v) unless block_given? els = collect2(v, &block) Vector.elements(els, false) end