Skip to content

Instantly share code, notes, and snippets.

@thinkphp
Created May 6, 2017 13:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thinkphp/7723fecf2dfa017480da4f8cffcdfd05 to your computer and use it in GitHub Desktop.
Save thinkphp/7723fecf2dfa017480da4f8cffcdfd05 to your computer and use it in GitHub Desktop.
injective file out
Generating All The Injective Functions
f : A -> B
A = {1 2 }
B = {1 2 3 }
x | 1 2
----------------
f(x) | 1 2
x | 1 2
----------------
f(x) | 1 3
x | 1 2
----------------
f(x) | 2 1
x | 1 2
----------------
f(x) | 2 3
x | 1 2
----------------
f(x) | 3 1
x | 1 2
----------------
f(x) | 3 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment