# File lib/backports/1.9.2/stdlib/matrix.rb, line 617 def hermitian? Matrix.Raise ErrDimensionMismatch unless square? each_with_index(:strict_upper).all? do |e, row, col| e == rows[col][row].conj end end