Module rv::misc[][src]

Random utilities

Modules

bessel

Functions

argmax

Indices of the largest element(s) in xs.

cumsum

Cumulative sum of xs

ks_test

Univariate one-sample Kolmogorov-Smirnov test.

linspace

Generate a linearlly spaced set of points between start and stop

ln_binom

Natural logarithm of binomial coefficent, ln nCk

ln_pflip

Draw an index according to log-domain weights

lnmv_gamma

Natural logarithm of the multivariate gamma function, ln Γp(a).

logsumexp

Safely compute log(sum(exp(xs))

mardia

Mardia's test for multivariate normality.

mod_euc

Euclidean modulo

mvgamma

Multivariate gamma function, Γp(a).

pflip

Draw n indices in proportion to their weights

quad

Adaptive Simpson's quadrature

x2_test

Χ2 (Chi-squared) test.