heptagon/examples/random/random.epi
Gwenaël Delaval d5ee87b7ed Added example Markov
Example Markov : simulation of a Markov chain.

Use of a Random module, external call to C rand() function.
2015-09-17 11:17:29 +02:00

3 lines
83 B
Text

(* output : random float in interval [0,1] *)
unsafe val fun random() = (z:float)