= private = protected
collect()
Like Array#collect.
# File lib/matrix.rb, line 1759 def collect(&block) # :yield: e return to_enum(:collect) unless block_given? els = @elements.collect(&block) Vector.elements(els, false) end