Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Surjective Out File
Generating All The Surjective Functions:
Domain -> card(A)
{1 2 3 }
CoDomain -> card(B)
{1 2 }
x | 1 2 3
---------------
f(x) | 1 1 2
x | 1 2 3
---------------
f(x) | 1 2 1
x | 1 2 3
---------------
f(x) | 1 2 2
x | 1 2 3
---------------
f(x) | 2 1 1
x | 1 2 3
---------------
f(x) | 2 1 2
x | 1 2 3
---------------
f(x) | 2 2 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment