6
$\begingroup$

Suppose one is trying to devise a method to generate random matrices with a certain distribution. How does one verify that the generated matrices follow the desired distribution? In particular, I am interested in uniformly distributed random orthogonal matrices, but I am curious how people test their codes for correctness in general.

1 Answers 1