comm.m

From Spinach Documentation Wiki
Revision as of 19:35, 6 June 2026 by Kuprov (talk | contribs) (Update function See also links and function index membership)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

add_spins.m, cg_fast.m, clebsch_gordan.m, hilb2liouv.m, irr_sph_ten.m, ist_product_table.m, lorentz.m, mat2sphten.m, multipack.m, pauli.m, perm_group.m, rocomm.m, rwalk.m, sle_operators.m, sorensen.m, spher_harmon.m, sphten2mat.m, stev2sph.m, stevens.m, superop.m, twospinist.m, wigner.m, wigner_3j.m, wigner_6j.m, Kernel_utilities

Version 2.8, authors: Ilya Kuprov