dlist.h
Go to the documentation of this file.
398 void getBandBdaggerAndDeltasIds(vector<string> &id0, vector<string> &id1, vector<string> &id2, vector<string> &id3, int &sign);
unsigned int getType() Returns the type of the element. Ex.: $b$ - type=0; $b^{}$ - type=1; $$ - type=2; constant - type=3... Definition: dlist.h:111 OPMode operator-(const OPMode a, const OPMode b) calculate the mode for the subtraction Definition: braket.cpp:291 void set_end() Changes actual pointer to point at the last element of DList (end pointer). Definition: dlist.h:326 static elemType make_elem(int type, int data1, int data2) Creates and return an element of type "type" and data fields "data1" and "data2". ... Definition: dlist.h:155 OPMode operator*(const OPMode a, const OPMode b) calculate the mode for the multiplication Definition: braket.cpp:317 DList & operator,(DList &L, elemType j) Adds element "j" to the end of DList. Returns pointer to DList. Definition: dlist.cpp:1055 void setSign(bool sign) Sets sign field of the element (not used in current version). Definition: dlist.h:193 DList * copy(DList *L) Creates and returns a pointer to a new copy of a DList. Definition: dlist.cpp:806 void shift_right() Shifts actual pointer to next node. If actual node is the end node, stops. Definition: dlist.h:361 Definition: braket.cpp:54 void shift_left() Shifts actual pointer to previous node. If actual node if first node (begin), stops. Definition: dlist.h:367 void loop_right() Shifts actual pointer to next node. If actual node is the end node, shift to beg node. Definition: dlist.h:340 DList ordering(DList &L, bool braketmode) Order only the b's (to the left hand side) and b's (to the right hand side) terms. Applies the following identity: input DList L keeps delta term and function returns the swapped term. Definition: dlist.cpp:911 string printDeltas(DList &L) Creates and returns a string with the deltas and constants of a DList. Definition: dlist.cpp:975 DList contract_deltas(DList &L, bool braketmode) Applies the following identity: input DList L keeps delta term and function returns the swapped term... Definition: dlist.cpp:845 Definition: dlist.h:101 ostream & operator<<(ostream &out, const OPMode &a) Get the mode of the expression. Definition: braket.cpp:266 bool isActualLast() Returns true if actual pointer is pointing to the last (end) node of DList. Definition: dlist.h:435 static elemType make_elem(int type, int data) Creates and return an element of type "type" and one data field "data". Second data field is set to z... Definition: dlist.h:142 static elemType make_delta(elemType data1, elemType data2) Creates and return $$ element using first data field of elements "a" and "b". Definition: dlist.h:164 bool getSign() Returns the sign of the element (not used in current version). Definition: dlist.h:118 void loop_left() Shifts actual pointer to previous node. If actual node is the beg node, shift to end node... Definition: dlist.h:346 void set(elemType i) Sets data (elemtype) of the node being pointed by actual pointer. Definition: dlist.h:316 void set_begin() Changes actual pointer to point at the first element of DList (beg pointer). Definition: dlist.h:321 Generated on Fri Dec 18 2015 19:49:47 for SOSpin by 1.8.9.1 |