local2global.example.rand_orth

rand_orth(dim)[source]

Sample a random orthogonal matrix (for testing). Use normal distribution to ensure uniformity.