Difference between revisions of "Which subst.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Expand See also links to related Spinach functions and docs)
Line 1: Line 1:
 
{{DISPLAYTITLE:which_subst.m}} __NOTOC__
 
{{DISPLAYTITLE:which_subst.m}} __NOTOC__
−
Finds out which substance hosts the specified spins; throws an error if there is more than one.
+
Finds out which substance hosts the specified spins;
  
 
==Syntax==
 
==Syntax==
Line 21: Line 21:
  
 
==See also==
 
==See also==
−
[[Main_Page]]
+
* [[prune_subgraphs.m]]
 +
* [[repcols.m]]
 +
* [[reprows.m]]
 +
* [[Spin_system_specification]]
 +
* [[Kernel_utilities]]
 +
* [[Main_Page]]
 +
 
 +
 
  
 
''Version 2.11, authors: [[Ilya Kuprov]]''
 
''Version 2.11, authors: [[Ilya Kuprov]]''

Revision as of 20:37, 22 February 2026

Finds out which substance hosts the specified spins;

Syntax

            subst=which_subst(spin_system,spins)

Arguments

        spins - a list of positive integers

Outputs

        subst - a positive integer

Examples

See examples in the Spinach distribution relevant to this function.

Notes

This page was generated from the function header in the Spinach repository.

See also


Version 2.11, authors: Ilya Kuprov