Nestedsums library
symbol_factory.h
Go to the documentation of this file.
1
8/*
9 * Copyright (C) 2001-2017 Stefan Weinzierl
10 *
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 2 of the License, or
14 * (at your option) any later version.
15 *
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24 */
25
26#ifndef __NESTEDSUMS_SYMBOL_FACTORY_H__
27#define __NESTEDSUMS_SYMBOL_FACTORY_H__
28
29#include "ginac/ginac.h"
30
31#include <string>
32
33namespace nestedsums {
34
35 const GiNaC::symbol symbol_factory(const std::string & symbol_name, const std::string & latex_name);
36
37 const GiNaC::symbol next_index(void);
38 const GiNaC::symbol next_x(void);
39
40} // namespace nestedsums
41
42
43// a routine to convert from integers to string
44std::string itos(int arg);
45
46
47#endif // ndef __NESTEDSUMS_SYMBOL_FACTORY_H__
48
Definition basic_letter.cc:35
const symbol symbol_factory(const std::string &symbol_name, const std::string &latex_name)
Definition symbol_factory.cc:46