Documentation of CSL
Data Structures | Namespaces | Functions
commutation.h File Reference
#include "scalarFunc.h"
Include dependency graph for commutation.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  csl::Commutator
 Object that represents a commutator or an anti-commutator, thus is derived from AbstractDuoFunc that handles two arguments -> [A,B]. More...
 

Namespaces

 csl
 Namespace for csl library.
 

Functions

Expr csl::Commutation (const Expr &A, const Expr &B, int sign=-1)
 Returns the result of the (anit-)commutation of A and B. In most cases it returns CSL_0, and returns CSL_UNDEF else. Useful to test if two objects commute. More...
 
Expr csl::Commutation (Expr_info A, Expr_info B, int sign=-1)
 
Expr csl::WeakCommutation (const Expr &A, const Expr &B, int sign=-1)
 Returns the result of the (anit-)commutation of A and B. In most cases it returns CSL_0, and returns CSL_UNDEF else. Useful to test if two objects commute. In the special of this function, A is an object that is not commutable (attribute Abstract::commutable) and B is commutable. More...
 
Expr csl::WeakCommutation (Expr_info A, Expr_info B, int sign=-1)
 
Expr csl::commutator_ (const Expr &A, const Expr &B, int t_sign=-1)
 Tries to create a Commutator object of A and B of sign sign. More...
 

Detailed Description

Author
Grégoire Uhlrich
Version
1.3