utilities.h
Go to the documentation of this file.00001
00002
00003
00004 #ifndef UTILITIES_IS_INCLUDED
00005 #define UTILITIES_IS_INCLUDED
00006
00007 #include <string>
00008
00009 #include <ginac/ginac.h>
00010
00011 #include "containers.h"
00012
00013 namespace SyFi
00014 {
00015
00016
00017 int dirac(unsigned int i, unsigned int j);
00018
00019
00020 std::string int2string(int i);
00021
00022 std::string istr(const std::string & a, int b);
00023
00024 std::string istr(const std::string & a, int b, int c);
00025
00026 std::string lst2string(GiNaC::lst& l);
00027
00028
00029
00030
00031
00032 #ifndef SWIG
00033 void print(GiNaC::exvector& v);
00034 void print(GiNaC::lst& l);
00035 void print(GiNaC::exmap m);
00036 void print(ex_int_map m);
00037 void print(std::map<std::pair<unsigned int,unsigned int>, GiNaC::ex> & A);
00038 #endif
00039
00040 }
00041 #endif