Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Compute the Schultz molecular topological index of an undirected graph or a molecule
ResourceFunction["SchultzMTI"][g] computes the Schultz index of the graph g. | |
ResourceFunction["SchultzMTI"][mol] computes the Schultz index of the molecule mol. |
The Schultz index of a Petersen graph:
| In[1]:= |
| Out[1]= |
Get the same result from GraphData:
| In[2]:= |
| Out[2]= |
Compute the Schultz index of a molecule:
| In[3]:= | ![]() |
| Out[3]= |
Compute the Schultz index of a named entity:
| In[4]:= |
| Out[4]= |
By default, hydrogens are ignored in the computation of the Schultz index:
| In[5]:= |
| Out[5]= |
Use IncludeHydrogens→All to account for hydrogens:
| In[6]:= |
| Out[6]= |
Generate all alkanes with 8 carbon atoms (octanes) using the resource function AlkaneIsomers:
| In[7]:= |
| Out[7]= | ![]() |
Find octane isomers with identical values of the Schultz index:
| In[8]:= |
| Out[8]= | ![]() |
Three decane isomers:
| In[9]:= | ![]() |
All of them have the same value of the Schultz index:
| In[10]:= |
| Out[10]= |
Wolfram Language 12.3 (May 2021) or above
This work is licensed under a Creative Commons Attribution 4.0 International License