Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
1
Task/Rate-counter/J/rate-counter-1.j
Normal file
1
Task/Rate-counter/J/rate-counter-1.j
Normal file
|
|
@ -0,0 +1 @@
|
|||
x (6!:2) y
|
||||
4
Task/Rate-counter/J/rate-counter-2.j
Normal file
4
Task/Rate-counter/J/rate-counter-2.j
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
list=: 1e6 ?@$ 100 NB. 1 million random integers from 0 to 99
|
||||
freqtable=: ~. ,. #/.~ NB. verb to calculate and build frequency table
|
||||
20 (6!:2) 'freqtable list' NB. calculate and build frequency table for list, 20 times
|
||||
0.00994106
|
||||
2
Task/Rate-counter/J/rate-counter-3.j
Normal file
2
Task/Rate-counter/J/rate-counter-3.j
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
1 1 1 (6!:2) 'freqtable list'
|
||||
0.0509995 0.0116702 0.0116266
|
||||
Loading…
Add table
Add a link
Reference in a new issue