1.2.3-SNAPSHOT Arrow_down_16x16
  • (draw d)

A function of the incanter.distribution.Distribution protocol.

Returns a randomly drawn value from the support of distribution d.

See also:
Distribution, pdf, cdf, support

Examples:
(draw [1 3 4 2 1 3 4 2]) ; returns a value from #{1 2 3 4}

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source top


			

			
Vars in incanter.distributions/draw:
Used in 0 other vars

Comments top

No comments for draw. Log in to add a comment.