Applies a random rotation to a matrix based on the subgroup algorithm provided by Diaconis, P. and Shahshahani, M. (1987).
matrix to be rotated
Diaconis, P.; Shahshahani, M. The subgroup algorithm for generating uniform random variables. Probability in the Engineering and Informational Sciences. 1987, 1, 15-32.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.