i = randomPoints(r,n)
The script defines a ring R with r+1 variables, and calls points(R,randomPointsMat(R, n))
i1 : betti res randomPoints(11,5) 0 1 2 3 4 5 6 7 8 9 10 11 o1 = total: 1 17 111 400 914 1414 1526 1156 605 209 43 4 0: 1 7 21 35 35 21 7 1 . . . . 1: . 10 90 365 879 1393 1519 1155 605 209 43 4 o1 : BettiTally
The object randomPoints is a function closure.