tests/hashtest/testFlattenedSet.r

Rcpp::sourceCpp("tests/hashtest/hashtest.cpp", verbose = T)
segSize = 10L; N = 5000000; r = 5
# while(T){
x = abs(matrix(as.integer(round(rnorm(N * segSize) * r)), nrow = segSize))
y = abs(matrix(as.integer(round(rnorm(N * segSize) * r)), nrow = segSize))
# y = x
tmp = test(x, y, verbose = F)
d = sum(tmp$isYin != tmp$isYinViaFlattened)
# cat(sum(tmp$isYin), " ")
# if(d != 0) break
# }

Try the FLSSS package in your browser

Any scripts or data that you put into this service are public.

FLSSS documentation built on May 17, 2022, 5:09 p.m.