Module pdf

Module pdf 

Source
Expand description

Implements Probability Distribution Functions

These are used to indicate to schedule generators where samples should be taken. This module contains the core PDF implementation as well as some presets representing common PDFs.

Structs§

Pdf
Represents a Probability Distribution Function.
Probabilities
A list of probabilities, each one associated with a sample.

Enums§

QSinBias
Options for the bias parameter used in QSched

Traits§

PdfGenerator
A value that can generate PDFs of arbitrary dimensions.

Functions§

exponential
An exponential PDF. scale represents how quickly the PDF decays.
linear
A linear PDF
qsin
Equivalent to the quant-sin option in QSched
sin_weighted_poisson_gap
Estimate the effective PDF of Sin Weighted Poisson Gap, if you would like to try it in other generators.
unweighted
An unweighted PDF.