Is there a way to generate a random positive semi-definite matrix with given eigenvalues and eigenvectors in Python?
I looked at this, but they do not allow to specify eigenvalues for matrix construction.
Context: I want to generate random multivariate Gaussians with controlled ellipticity and because the major/minor axes of the distribution have the length proportional to eigenvalues I want my covariance matrix to have them. Definiton could be found here (page 81).