Skip to content
Snippets Groups Projects
Commit ab5ecd20 authored by Tobias Winkler's avatar Tobias Winkler
Browse files

update README

parent b0f8ca80
Branches
No related tags found
No related merge requests found
# prodigy: A library for manipulation distributions through generating functions
# pygin: A library for manipulation discrete distributions through generating functions
The main features are
- python bindings
......@@ -22,7 +22,7 @@ within the prodigy root folder.
## Usage
```
import prodigy
dist = prodigy.geometric("x", "1/2")
import pygin
dist = pygin.geometric("x", "1/2")
e = dist.E("x") # e becomes 1, the expected value of the 1/2-geometric distribution
......@@ -16,7 +16,8 @@
namespace prodigy {
/*
* represents a (possibly parametric) probability distribution over non-negative integer variable valuations using gfs
* represents a (possibly parametric) distribution over non-negative integer variable valuations using gfs
* 'distribution' does not necessarily refer to probability distribution
*
* Notes:
* - Variables and parameters are managed globally.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment