inverse_cdf#

Module for inverse transform sampling.

Functions#

construct_inverse_sampler()

Returns a sampler for the distribution corresponding to inverse_cdf.

construct_inverse_sampler(inverse_cdf, step_size=63)#

Returns a sampler for the distribution corresponding to inverse_cdf.

Parameters
Return type

Callable[[], float]