Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Find elements of lists that are not in other lists
ResourceFunction["AllComplements"][{e1,e2,…}] gives the list of elements in each of the ei which are not in any of the other e sets. |
Find unique elements of each sublist:
In[1]:= | ![]() |
Out[1]= | ![]() |
Find key-value pairs that are not included in other associations:
In[2]:= | ![]() |
Out[2]= | ![]() |
The head can be anything supported by Complement:
In[3]:= | ![]() |
Out[3]= | ![]() |
Do the same without wrapping the sets in a List:
In[4]:= | ![]() |
Out[4]= | ![]() |
The wrapper of the sets does not need to be a List:
In[5]:= | ![]() |
Out[5]= | ![]() |
Find which options to Plot are not also options to Graphics:
In[7]:= | ![]() |
Out[7]= | ![]() |
AllComplements can give complimentary complements:
In[8]:= | ![]() |
Out[9]= | ![]() |
Find some fun resource functions:
In[10]:= | ![]() |
Out[10]= | ![]() |
Find some fun ones:
In[11]:= | ![]() |
Out[11]= | ![]() |
Get fun functions that are not games and games that are… not fun:
In[12]:= | ![]() |
Out[12]= | ![]() |
Copy the outputs of BirdSay into AllComplements:
In[13]:= | ![]() |
In[14]:= | ![]() |
BirdSay the complement:
In[15]:= | ![]() |
Out[15]= | ![]() |
The heads must be the same:
In[16]:= | ![]() |
Out[16]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License