Simulates random samples from a Riemannian normal distribution on symmetric positive definite matrices.
rspdnorm(n, refpt, disp, met)An object of class CSample containing the generated samples.
Number of samples to generate.
Reference point on the manifold, represented as a symmetric positive definite matrix. Must be an object of class dppMatrix from the Matrix package.
Dispersion matrix defining the spread of the distribution. Must be an object of class dppMatrix from the Matrix package.
A metric object of class rmetric.