• (random-stream distribution random-stream-state)
Define a random stream by a distribution and the state of a
random number stream with uniform distribution in [0, 1).

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 clojure/contrib/probabilities/monte_carlo.clj:62 top

(deftype ::random-stream random-stream
  "Define a random stream by a distribution and the state of a
   random number stream with uniform distribution in [0, 1)."
  {:arglists '([distribution random-stream-state])}
  (fn [d rs] (list d rs)))
Vars in clojure.contrib.probabilities.monte-carlo/random-stream: deftype fn list
Used in 0 other vars

Comments top

No comments for random-stream. Log in to add a comment.