Ruby 1.9.0 リファレンスマニュアル > ライブラリ一覧 > library matrix > class Matrix > elements_to_i
elements_to_i -> Array
各要素を整数 Integer に変換した行列を返します。