Inverse Transform Sampler

A method to draw samples of some univariate random variable \(X\), assuming we know the inverse of its cumulative distribution function \(F_X\), \(F^{-1}_X\).

U = Uniform[0,1]
X = InverseCDF(U)

Emacs 29.4 (Org mode 9.6.15)