Data/Random/Buffer, spec updated

This commit is contained in:
Dmitry Boulytchev 2020-08-22 20:11:41 +03:00
parent 94e4b16267
commit f08cd8396f
9 changed files with 164 additions and 10 deletions

View file

@ -24,7 +24,7 @@ fun genCyclicArrays (n, eq, cross) {
x -> [x, clone (x)]
esac
else
local a = split (n),
local a = split (n, random (n+1)),
b = mapArray (id, a),
index = initArray (random (a.length + 1), fun (_) {random (a.length)});