Skip to content

Replace DiscreteRV with jitted function #390

Closed
@jstac

Description

@jstac

It would be nice to make this functionality useful by replacing the class with a simple jitted function --- which can then be embedded in other jitted functions.

Suggested new syntax:

draws = discrete_rv(p_vals, x_vals, size=1000)

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