Ruby 1.8.7 リファレンスマニュアル > ライブラリ一覧 > matrixライブラリ > Matrixクラス > inv
inverse -> Matrix
inv -> Matrix
逆行列を返します。