Coverage for navipy/maths/random.py : 96%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
""" Generate two random vector, which are orthogonal """ ) <= constants._EPS
"""Return uniform random rotation matrix.
rand: array like Three independent random variables that are uniformly distributed between 0 and 1 for each returned quaternion. """
"""Return uniform random unit quaternion.
rand: array like or None Three independent random variables that are uniformly distributed between 0 and 1. """ else: assert len(rand) == 3 np.cos(t1) * r1, np.sin(t2) * r2]) |