= private = protected
map2(v)
Like Vector#collect2, but returns a Vector instead of an Array.
# File lib/matrix.rb, line 1207 def map2(v) # :yield: e1, e2 els = collect2(v) { |v1, v2| yield v1, v2 } Vector.elements(els, false) end