Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
|
|
@ -0,0 +1,10 @@
|
|||
(de randN (N)
|
||||
(if (= 1 (rand 1 N)) 1 0) )
|
||||
|
||||
(de unbiased (N)
|
||||
(use (A B)
|
||||
(while
|
||||
(=
|
||||
(setq A (randN N))
|
||||
(setq B (randN N)) ) )
|
||||
A ) )
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
(for N (range 3 6)
|
||||
(tab (2 1 7 2 7 2)
|
||||
N ":"
|
||||
(format
|
||||
(let S 0 (do 10000 (inc 'S (randN N))))
|
||||
2 )
|
||||
"%"
|
||||
(format
|
||||
(let S 0 (do 10000 (inc 'S (unbiased N))))
|
||||
2 )
|
||||
"%" ) )
|
||||
Loading…
Add table
Add a link
Reference in a new issue