Learn R Programming

soobench (version 1.9.18)

random_rotation_matrix: 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 matrices are uniformly distributed in any sense.

Usage

random_rotation_matrix(d)

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.