comm.m

From Spinach Documentation Wiki
Revision as of 09:53, 25 July 2023 by Kuprov (talk | contribs) (See also)
Jump to: navigation, search

A simple shorthand for the commutator of two matrices.

Syntax

    C=comm(A,B)

Arguments

    A,B - square matrices

Outputs

    C   - a square matrix

See also

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


Version 2.8, authors: Ilya Kuprov