bundles / scipy 1.17.1 / scipy / stats / _multivariate / vonmises_fisher_gen / _rotate_samples
function
scipy.stats._multivariate:vonmises_fisher_gen._rotate_samples
Signature
def _rotate_samples ( self , samples , mu , dim ) Summary
A QR decomposition is used to find the rotation that maps the north pole (1, 0,...,0) to the vector mu. This rotation is then applied to all samples.
Parameters
samples: array_like, shape = [..., n]mu: array-like, shape=[n, ]Point to parametrise the rotation.
Returns
samples: rotated samples
Aliases
-
scipy.stats._multivariate.vonmises_fisher_gen._rotate_samples