Difference between revisions of "Comm.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Normalise sequential blank lines)
m (Rename Arguments section heading to Parameters)
Line 6: Line 6:
 
     C=comm(A,B)
 
     C=comm(A,B)
  
==Arguments==
+
==Parameters==
  
 
     A,B - square matrices
 
     A,B - square matrices

Revision as of 18:47, 5 June 2026

A simple shorthand for the commutator of two matrices.

Syntax

    C=comm(A,B)

Parameters

    A,B - square matrices

Outputs

    C   - a square matrix

See also

SU(2), SO(3), and other groups

Version 2.8, authors: Ilya Kuprov