pdflib


pdflib, an Octave code which evaluates Probability Density Functions (PDF's) and produces random samples from them, including beta, binomial, chi, exponential, gamma, inverse chi, inverse gamma, multinomial, normal, scaled inverse chi, and uniform.

Licensing:

The computer code and data files made available on this web page are distributed under the MIT license

Languages:

pdflib is available in a C version and a C++ version and a Fortran90 version and a MATLAB version and an Octave version and a Python version.

Related Data and Programs:

pdflib_test

log_normal_truncated_ab, an Octave code which returns quantities associated with the log normal Probability Distribution Function (PDF) truncated to the interval [A,B].

prob, an Octave code which evaluates, samples and inverts a number of Probability Density Functions (PDF).

ranlib, an Octave code which produces random samples from Probability Density Functions (PDF's), including Beta, Chi-square Exponential, F, Gamma, Multivariate normal, Noncentral chi-square, Noncentral F, Univariate normal, random permutations, Real uniform, Binomial, Negative Binomial, Multinomial, Poisson and Integer uniform, by Barry Brown and James Lovato.

rnglib, an Octave code which implements a random number generator (RNG) with splitting facilities, allowing multiple independent streams to be computed, by L'Ecuyer and Cote.

walker_sample, an Octave code which efficiently samples a discrete probability vector using Walker sampling.

Source Code:


Last revised on 11 January 2021.