MCPcopy Create free account
hub / github.com/densechen/CASS / random_rotation_matrix

Function random_rotation_matrix

lib/transformations.py:1500–1512  ·  view source on GitHub ↗

Return uniform random rotation matrix. rand: array like Three independent random variables that are uniformly distributed between 0 and 1 for each returned quaternion. >>> R = random_rotation_matrix() >>> numpy.allclose(numpy.dot(R.T, R), numpy.identity(4)) True

(rand=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

quaternion_matrixFunction · 0.85
random_quaternionFunction · 0.85

Tested by

no test coverage detected