diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-09 19:11:06 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-09 19:11:06 +0000 |
commit | 53e667a9ebcb5c234b0df850121561e09e9fc4d9 (patch) | |
tree | ac3f0cb81088ab538740367e52565023567a6544 /lib/matrix.rb | |
parent | aef7007477fe6c2ca1a798ff85884a9a3d9b9d97 (diff) |
Remove duplicated definition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/matrix.rb')
-rw-r--r-- | lib/matrix.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/matrix.rb b/lib/matrix.rb index 360e79f3cc..3c078c0c06 100644 --- a/lib/matrix.rb +++ b/lib/matrix.rb @@ -1765,15 +1765,6 @@ class Vector 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 # |