I'm trying to examine some patterns on the permutation of elements in finite element functions. I'd like to create a list of all functions (256 of them) on 4 elements.
For example
{{(a, b), (b, c), (c, c), (d, a)}, {(a, c), (b, d), (c, c), (d, a)}, ... }
In all the methods I have tried I keep getting non-functional elements, i.e. things like
{{(a, b), (a, c), (c, d), (d, a)}, ... }
Any suggestions as for an easy way to do this?
{a, b, c, d}onto itself? – 2012rcampion Mar 25 '15 at 16:42