pytransform3d.rotations
.random_vector¶
- pytransform3d.rotations.random_vector(random_state=RandomState(MT19937) at 0x7F1EE15BAD40, n=3)[source]¶
Generate an nd vector with normally distributed components.
Each component will be sampled from
.
- Parameters
- random_statenp.random.RandomState, optional (default: random seed 0)
Random number generator
- nint, optional (default: 3)
Number of vector components
- Returns
- varray, shape (n,)
Random vector