mean = ary.sum(0.0) / ary.length. This method can be used for non-numeric objects by explicit init argument. ["a", "b", "c"].sum("") #=> "abc" ...
確定! 回上一頁