det(x))
1.0

This generates one random matrix from O(3). It is orthogonal and
has a determinant of +1 or -1.

Alternatively, the object may be called (as a function) to fix the `dim`
parameter, returning a "frozen" ortho_group random variable:

>>> rv = ortho_group(5)
>>> # Frozen object with the same methods but holding the
>>> # dimension parameter fixed.

See Also
--------
special_ortho_group
c