Difference between revisions of "Prune subgraphs.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Create documentation page from Spinach function header)
 
(Expand See also links to related Spinach functions and docs)
Line 25: Line 25:
  
 
==See also==
 
==See also==
[[Main_Page]]
+
* [[which_subst.m]]
 +
* [[repcols.m]]
 +
* [[reprows.m]]
 +
* [[unihash.m]]
 +
* [[min_int_type.m]]
 +
* [[Kernel_utilities]]
 +
 
 +
 
  
 
''Version 2.11, authors: [[Ilya Kuprov]]''
 
''Version 2.11, authors: [[Ilya Kuprov]]''

Revision as of 21:22, 22 February 2026

Removes subgraphs that are contained entirely within

Syntax

            subgraphs=prune_subgraphs(subgraphs)

Arguments

       subgraphs - [ngraphs x nspins] logical array
                   with 1 when a spin belongs to a
                   subgraph and 0 otherwise

Outputs

       subgraphs - [ngraphs x nspins] logical array
                   with 1 when a spin belongs to a
                   subgraph and 0 otherwise

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