Generate a random d-dimensional rotation matrix.

Description

The algorithm used to randomly create the rotation matrix is due to R Salomon (see reference). No guarantee is given that the generated rotation matricies are uniformly distributed in any sense.

Usage

1

Arguments

d

Dimension of desired rotation matrix.

Value

A random d \times d rotation matrix.

References

Salomon R. Re-evaluating genetic algorithm performance under coordinate rotation of benchmark functions. A survey of some theoretical and practical aspects of genetic algorithms. Biosystems. 1996;39(3):263-78.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.