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

Make loc and scale arguments of rvs_normal optional when returning an array #963

Open
Beliavsky opened this issue Mar 25, 2025 · 0 comments

Comments

@Beliavsky
Copy link

I wish the loc and scale arguments of rvs_normal were optional when generating a 1D array of variates, so that one could write

x = rvs_normal(array_size=n)

instead of

x = rvs_normal(0.0_dp, 1.0_dp, array_size=n)

That is how numpy.random.normal works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant