riecovest.random_matrices.sample_real_t_distribution

riecovest.random_matrices.sample_real_t_distribution(mean, cov, rng, num_samples, degrees_of_freedom)

Sample from a real t-distribution with given mean, covariance matrix and degrees of freedom.

Parameters:
  • mean (ndarray of shape (dim,)) – Mean of the real Gaussian distribution.

  • cov (ndarray of shape (dim, dim)) – Covariance matrix of the real Gaussian distribution.

Returns:

sample – Real Gaussian samples.

Return type:

ndarray of shape (dim, num_samples)