Welcome to Splrand’s documentation!

class pdf.ProbabilityDensityFunction(x, y)

Class describing a probability density function.

prob(x1, x2)

Return the probability for the random variable to be included between x1 and x2.

rnd(size=1000)

Return an array of random values from the pdf.

pdf.test_gauss(mu=0.0, sigma=1.0, support=10.0, num_points=500)

Unit test with a gaussian distribution.

pdf.test_triangular()

Unit test with a triangular distribution.

Indices and tables