Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please consider adding scipy.stats.random_complex_correlation to generate Hermitian matrices #14325

Open
NeilGirdhar opened this issue Jun 30, 2021 · 2 comments
Labels
enhancement A new feature or improvement scipy.stats

Comments

@NeilGirdhar
Copy link
Contributor

I need to generate a random covariance matrix for a multivariate complex normal distribution test. I used the scipy.stats.random_correlation function to generate the covariance in the real case. Would it be possible to generate random complex Hermitian matrices given a flag to this function?

@rkern
Copy link
Member

rkern commented Jun 30, 2021

I don't think it would be appropriate to repurpose that distribution for the complex Hermitian case. Feel free to add one specifically for that case, though.

@NeilGirdhar NeilGirdhar changed the title Please consider extending scipy.stats.random_correlation to generate Hermitian matrices Please consider adding scipy.stats.random_complex_correlation to generate Hermitian matrices Jul 1, 2021
@NeilGirdhar
Copy link
Contributor Author

Great, I've edited the title. Unfortunately, I don't know how to implement this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A new feature or improvement scipy.stats
Projects
None yet
Development

No branches or pull requests

3 participants