Returns the Uniform pdf of the given value of x. It will return a sequence
of values, if x is a sequence. This is equivalent to R's dunif function.
Options:
:min (default 0)
:max (default 1)
See also:
cdf-uniform and sample-uniform
References:
http://incanter.org/docs/parallelcolt/api/cern/jet/random/tdouble/DoubleUniform.html
http://en.wikipedia.org/wiki/Uniform_distribution
http://en.wikipedia.org/wiki/Probability_density_function
Example:
(pdf-uniform 5)
(pdf-uniform 5 :min 1 :max 10)
Comments top
No comments for pdf-uniform. Log in to add a comment.