Skip to content

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

Open
@Beliavsky

Description

@Beliavsky

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions