In linear algebra, a real invertible matrix is called a G-matrix if (where means ) for some real diagonal matrices and .
The term "G-matrix" was coined by Miroslav Fiedler and Frank J. Hall. It is sometimes called a semi-orthogonal matrix in research literature, although the latter term may also refer to a different kind of matrix, namely, a non-square matrix with orthogonal columns/rows.
All real orthogonal matrices and real invertible diagonal matrices, for instances, are G-matrices.
All matrices below are assumed to be real square matrices.