gsl.pdf

Module Contents

class gsl.pdf.uniform(support, rng, **kwds)

Encapsulation of the uniform probability distribution

support
sample(self)

Sample the uniform distribution using a random value from {rng}

density(self, x)

Compute the probability density of the uniform distribution at {x}

vector(self, vector)

Fill {vector} with random values

matrix(self, matrix)

Fill {matrix} with random values

class gsl.pdf.uniform_pos(rng, **kwds)

Encapsulation of the positive uniform probability distribution

sample(self)

Sample the uniform distribution using a random value from {rng}

density(self, x)

Compute the probability density of the uniform distribution at {x}

vector(self, vector)

Fill {vector} with random values

matrix(self, matrix)

Fill {matrix} with random values

class gsl.pdf.gaussian(mean, sigma, rng, **kwds)

Encapsulation of the gaussian probability distribution

mean = 0.0
sigma
sample(self)

Sample the gaussian distribution using a random value from {rng}

density(self, x)

Compute the probability density of the gaussian distribution at {x}

vector(self, vector)

Fill {vector} with random values

matrix(self, matrix)

Fill {matrix} with random values

class gsl.pdf.ugaussian(rng, **kwds)

Encapsulation of the unit gaussian probability distribution

sample(self)

Sample the gaussian distribution using a random value from {rng}

density(self, x)

Compute the probability density of the gaussian distribution at {x}

vector(self, vector)

Fill {vector} with random values

matrix(self, matrix)

Fill {matrix} with random values

class gsl.pdf.dirichlet(alpha, rng, **kwds)

Encapsulation of the dirichlet probability distribution

vector(self, vector)

Fill {vector} with random values

matrix(self, matrix)

Fill {matrix} with random values