A square matrix with real numbers or elements is orthogonal if its transpose is equal to its inverse:

or