Creates a sampling function capable of extracting a sample from any sequence.
Creates a sampling function capable of extracting a sample from any sequence.
the level of sampling to use
a function capable of extracting a sample from any sequence.
the sampling ratios to use in which sampling level
Returns the ratio of elements that correspond to the given sampling level.
Returns the ratio of elements that correspond to the given sampling level.
the level of sampling to use
the ratio of elements that correspond to the given sampling level, in the range [0.0, 1.0].
Sampler in which ratios for each sampling level are given explicitly as a list.
the type of the elements of the sequence
the sampling ratios to use in which sampling level
(Since version 2017/07/13) This will be removed in a future version