Ruby 2.4.0 リファレンスマニュアル > ライブラリ一覧 > matrixライブラリ > Matrixクラス > normal?
normal? -> bool
行列が正規行列ならば true を返します。