Code covered by the BSD License  

Highlights from
Generation of Random Variates

image thumbnail

Generation of Random Variates

by

 

generates random variates from over 870 univariate distributions

laha_pdf(x)
% laha_pdf.m - evaluates a Laha Probability Density.
%   See "Generating Non-Uniform Random Variates", Chap. 9, L. Devroye.
%
%  Created by Jim Huntley,  09/07/06
%
%

function [pdf] = laha_pdf(x)

pdf = 2 * sqrt(2) / (pi * (1+x^4));

return

Contact us