sospin is hosted by Hepforge, IPPP Durham
SOSpin  1.0.0
braket.cpp File Reference

Defintions for all general (initialisation etc.) routines of class Braket. More...

#include "index.h"
#include "dlist.h"
#include "timer.h"
#include "progressStatus.h"
#include "braket.h"
#include "son.h"

Go to the source code of this file.

Namespaces

 sospin
 

Macros

#define MAX(x, y)   (((x) > (y)) ? (x) : (y))
 
#define MIN(x, y)   (((x) < (y)) ? (x) : (y))
 

Functions

void sospin::setSimplifyIndexSum ()
 Activate internal simplifications based on the Braket Index sum. This option is activated by default. More...
 
void sospin::unsetSimplifyIndexSum ()
 Deactivate internal simplifications based on the Braket Index sum. More...
 
ostream & sospin::operator<< (ostream &out, const OPMode &a)
 Get the mode of the expression. More...
 
OPMode sospin::operator- (const OPMode a, const OPMode b)
 calculate the mode for the subtraction More...
 
OPMode sospin::operator+ (const OPMode a, const OPMode b)
 calculate the mode for the sum More...
 
OPMode sospin::operator* (const OPMode a, const OPMode b)
 calculate the mode for the multiplication More...
 
int sospin::expevaluationtype (int eval0, int eval1)
 
BraketOneTerm sospin::operator- (const BraketOneTerm &L)
 
Braket sospin::operator- (const Braket &L)
 
ostream & sospin::operator<< (ostream &out, const BraketOneTerm &L)
 
ostream & sospin::operator<< (ostream &out, const Braket &L)
 
string & sospin::operator<< (string &out, const Braket &L)
 
string & sospin::operator+ (string &out, const Braket &L)
 
string sospin::GetLeviCivita (vector< string > id0, vector< string > id1)
 
void sospin::OrderBandBdaggers (list< DList > &Toeval, OPMode oper)
 Evaluate expression in order to left all b's in left side and b^daggers in right side. More...
 
void sospin::ReduceNumberOfBandBdaggers (list< DList > &Toeval, OPMode oper)
 Evaluate expression in order to have the number of b's plus b^daggers equal to N of SO(N) More...
 

Detailed Description

Defintions for all general (initialisation etc.) routines of class Braket.

Definition in file braket.cpp.

Macro Definition Documentation

#define MAX (   x,
 
)    (((x) > (y)) ? (x) : (y))

Definition at line 57 of file braket.cpp.

#define MIN (   x,
 
)    (((x) < (y)) ? (x) : (y))

Definition at line 58 of file braket.cpp.