Advertisement
Guest User

Untitled

a guest
Feb 27th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. const lookup_table = sparse(vcat(collect.(repeated.(1:9, binomial.(8, 0:8)))...),
  2. vcat(map(x -> collect(1:x), binomial.(8, 0:8))...),
  3. vcat(collect.(Permutations.(0:8))...)) #Permutations is a custom iterator I define earlier
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement