probsys/sppl

Implement general discrete real distribution (like nominal)

Closed this issue · 2 comments

fsaad commented

In the syntax " x >> dict", we should check whether the keys of the dictionary are numeric or symbolic to determine which constructor to call.

fsaad commented

Specifically, we should expose the constructor: rv_discrete(values=((1,2), (.3,.7)))