round(ndigits=0)
Returns a matrix with entries rounded to the given precision (see Float#round)
# File lib/matrix.rb, line 1251 def round(ndigits=0) map{|e| e.round(ndigits)} end