// output of ./demo/perm/permfunc-demo.cc: // Description: //% Demo of apply_permutation(func, ...). arg 1: 16 == n [size of sequence (a power of 2)] default=16 0: 0 0 1: 1 1 2: 3 3 3: 2 2 4: 7 7 5: 6 6 6: 4 4 7: 5 5 8: 15 15 9: 14 14 10: 12 12 11: 13 13 12: 8 8 13: 9 9 14: 11 11 15: 10 10