Public Member Functions | |
| def | __init__ |
| def | __call__ |
| def | make_distribution |
Public Attributes | |
| min_y | |
| max_y | |
| height | |
| y_curves | |
The distribution is specified with a matrix that denotes relative probabilities of a point being chosen from the cell. For example, the matrix [[1 2][1 1]] indicates that twice as many points will be chosen from the one corner cell than any other.
Definition at line 262 of file random_distributions.py.
| def random_distributions.Distribution2D.__call__ | ( | self, | ||
| rx, | ||||
| ry | ||||
| ) |
Definition at line 274 of file random_distributions.py.
| def random_distributions.Distribution2D.__init__ | ( | self, | ||
| prob_matrix, | ||||
| min_corner, | ||||
| max_corner | ||||
| ) |
Definition at line 267 of file random_distributions.py.
| def random_distributions.Distribution2D.make_distribution | ( | self, | ||
| matrix | ||||
| ) |
Definition at line 282 of file random_distributions.py.
Definition at line 270 of file random_distributions.py.
Definition at line 269 of file random_distributions.py.
Definition at line 268 of file random_distributions.py.
Definition at line 272 of file random_distributions.py.
1.5.8