Skip to content

A connivence overload for rBeta #18

Open
@JackStouffer

Description

@JackStouffer

The numpy version of the beta distribution takes two extra parameters loc and shape. In order to replicate this, I have this function:

auto randomBeta(double alpha, double beta, double location, double shape) {
    return (rBeta(alpha, beta) * shape) + location;
}

It would be nice to have something like this in by default.

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