Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Generate a Venn-like diagram to compare the Ferrers diagrams of two integer partitions
ResourceFunction["FerrersVennDiagram"][{x,y}] gives the Ferrers-Venn diagram of the two integer partitions x and y. |
Here is a pair of integer partitions:
In[1]:= | ![]() |
Here are their Ferrers diagrams:
In[2]:= | ![]() |
Out[2]= | ![]() |
In[3]:= | ![]() |
Out[3]= | ![]() |
Dots belong to x and empty circles to y:
In[4]:= | ![]() |
Out[4]= | ![]() |
Here the order of the two partitions is reversed:
In[5]:= | ![]() |
Out[5]= | ![]() |
Wolfram Language 13.0 (December 2021) or above
This work is licensed under a Creative Commons Attribution 4.0 International License