hadamard_product(m)
Hadamard product
Matrix[[1,2], [3,4]].hadamard_product(Matrix[[1,2], [3,2]]) => 1 4 9 8
# File lib/matrix.rb, line 987 def hadamard_product(m) combine(m){|a, b| a * b} end