SciPy 0.6.0 API Documentation Generated by Endo, 2007-10-17
returns an array of randomly distributed integers of a distribution whose cumulative distribution function (CDF) is given.
mean is the mean of the distribution (helps the solver). args is a tuple of extra arguments to the cdf function (i.e. shape, location, scale), and size is the size of the output. Note the cdf function needs to accept a single value to compute over.
returns an array of randomly distributed integers of a distribution whose percent point function (inverse of the CDF) is given.
args is a tuple of extra arguments to the ppf function (i.e. shape, location, scale), and size is the size of the output. Note the ppf function must accept an array of q values to compute over.
| Local name | Refers to |
|---|---|
| random_sample | numpy.random.random_sample |
| vectorize | numpy.vectorize |