Difference between revisions of "Sin tran.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Expand See also links to related Spinach functions and docs)
Line 1: Line 1:
 
{{DISPLAYTITLE:sin_tran.m}} __NOTOC__
 
{{DISPLAYTITLE:sin_tran.m}} __NOTOC__
−
Single transition operators, spanning the space of matrices of the specified dimension.
+
Single transition operators, spanning the space of matri- ces of the specified dimension. The set is returned as a cell array of sparse matrices using serpentine indexing where the position in the cell array maps in the follow- ing way to the location of the single non-zero: (1) (3) (6) (10) (2) (5) (9) (13) (4) (8) (12) (15) (7) (11) (14) (16)
  
 
==Syntax==
 
==Syntax==
Line 13: Line 13:
  
 
         A - a cell array of matrices, structured
 
         A - a cell array of matrices, structured
−
             as described in the header; matrices  
+
             as described above; matrices are re-
−
%            are returned as complex  
+
            turned as complex to avoid expensive
 +
            reallocations later
  
 
==Examples==
 
==Examples==
Line 23: Line 24:
  
 
==See also==
 
==See also==
−
[[Main_Page]]
+
* [[oper2ist.m]]
 +
* [[enlev2ist.m]]
 +
* [[serpentine.m]]
 +
* [[superop.m]]
 +
* [[partner_state.m]]
 +
* [[bos2ist.m]]
 +
 
 +
 
  
 
''Version 2.11, authors: [[Ilya Kuprov]]''
 
''Version 2.11, authors: [[Ilya Kuprov]]''

Revision as of 21:25, 22 February 2026

Single transition operators, spanning the space of matri- ces of the specified dimension. The set is returned as a cell array of sparse matrices using serpentine indexing where the position in the cell array maps in the follow- ing way to the location of the single non-zero: (1) (3) (6) (10) (2) (5) (9) (13) (4) (8) (12) (15) (7) (11) (14) (16)

Syntax

                        A=sin_tran(dim)

Arguments

      dim - dimension of the matrices

Outputs

        A - a cell array of matrices, structured
            as described above; matrices are re-
            turned as complex to avoid expensive
            reallocations later

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