Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Return True if a graph is regular

Test whether a graph is a regular graph:
| In[1]:= | ![]() |
| Out[1]= |
| In[2]:= | ![]() |
| Out[2]= |
Test whether a graph is a in-regular graph:
| In[3]:= | ![]() |
| Out[3]= |
| In[4]:= | ![]() |
| Out[4]= |
Test whether a graph is a out-regular graph:
| In[5]:= | ![]() |
| Out[5]= |
| In[6]:= | ![]() |
| Out[6]= |
Test whether a graph is a k-regular graph:
| In[7]:= | ![]() |
| Out[7]= |
| In[8]:= | ![]() |
| Out[8]= |
Test whether a graph is a k-In-regular graph:
| In[9]:= | ![]() |
| Out[9]= |
| In[10]:= | ![]() |
| Out[10]= |
Test whether a graph is a k-Out-regular graph:
| In[11]:= | ![]() |
| Out[11]= |
| In[12]:= | ![]() |
| Out[12]= |
Works with undirected graphs:
| In[13]:= | ![]() |
| Out[13]= |
| In[14]:= | ![]() |
| Out[14]= |
Directed graphs:
| In[15]:= | ![]() |
| Out[15]= |
| In[16]:= | ![]() |
| Out[16]= |
Weighted graphs:
| In[17]:= | ![]() |
| Out[17]= |
| In[18]:= | ![]() |
| Out[18]= |
Multigraphs:
| In[19]:= | ![]() |
| Out[19]= |
| In[20]:= | ![]() |
| Out[20]= |
Mixed graphs:
| In[21]:= | ![]() |
| Out[21]= |
| In[22]:= | ![]() |
| Out[22]= |
Wolfram Language 13.0 (December 2021) or above
This work is licensed under a Creative Commons Attribution 4.0 International License