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