SyFi  0.3
containers.h
Go to the documentation of this file.
00001 // Copyright (C) 2006-2009 Kent-Andre Mardal and Simula Research Laboratory
00002 //
00003 // This file is part of SyFi.
00004 //
00005 // SyFi is free software: you can redistribute it and/or modify
00006 // it under the terms of the GNU General Public License as published by
00007 // the Free Software Foundation, either version 2 of the License, or
00008 // (at your option) any later version.
00009 //
00010 // SyFi is distributed in the hope that it will be useful,
00011 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00013 // GNU General Public License for more details.
00014 //
00015 // You should have received a copy of the GNU General Public License
00016 // along with SyFi. If not, see <http://www.gnu.org/licenses/>.
00017 
00018 #ifndef CONTAINERS_IS_INCLUDED
00019 #define CONTAINERS_IS_INCLUDED
00020 
00021 #include <string>
00022 #include <vector>
00023 #include <list>
00024 #include <set>
00025 #include <map>
00026 
00027 #include <ginac/ginac.h>
00028 
00029 namespace SyFi
00030 {
00031 
00032         // container typedefs
00033         typedef std::pair<GiNaC::symbol, GiNaC::ex>               symexpair;
00034         typedef std::list< std::pair<GiNaC::symbol, GiNaC::ex> >  symexlist;
00035 
00036         //typedef std::vector<GiNaC::ex>                            exvector;
00037         typedef std::list<GiNaC::ex>                              exlist;
00038         typedef std::set<GiNaC::ex, GiNaC::ex_is_less>            exset;
00039         //typedef std::map<GiNaC::ex, GiNaC::ex, GiNaC::ex_is_less> exmap;
00040         typedef std::map<GiNaC::ex, int, GiNaC::ex_is_less>       ex_int_map;
00041 
00042 }                                                                // namespace SyFi
00043 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator