Over integral domains of characteristics different from 2, we determine all the matrices
Atiyah, M. F. and Macdonald, I. G. Introduction to Commutative Algebra. Addison-Wesley, Reading, Massachusetts, 1969.
Brown, W. C. Matrices over commutative rings. Marcel Dekker Inc., New-York, Basel, Hong Kong 1993.
Jacobson, N. Basic Algebra I. Second edition, W. H. Freeman, New York, 1985.
Taussky, O. and Zassenhaus, H. On the similarity transformation between a matrix and its transpose. Pacific J. Math. 9 (1959), 893–896.