Nestedsums library
constants.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_CONSTANTS_H__
27#define __NESTEDSUMS_CONSTANTS_H__
28
29#include "ginac/ginac.h"
30
31#include "symbol_factory.h"
32
33namespace nestedsums {
34
35 extern const int nestedsums_version_major;
36 extern const int nestedsums_version_minor;
37 extern const int nestedsums_version_micro;
38
39 extern const GiNaC::symbol Infinity;
40
41 const int add_precedence = 40;
42 const int mul_precedence = 50;
43 const int pow_precedence = 60;
44
45 // globals used internally
46
47 extern int _debug_level;
53
54 extern int _NMAX;
55
56 extern int _print_format;
57
58 extern const GiNaC::symbol _default;
59 extern const GiNaC::symbol _default_index;
60 extern const GiNaC::lst _empty_list;
61
64
66
67 // needed for correct RTTI
68 extern const basic_letter _default_basic_letter;
69 extern const Zsum _default_Zsum;
70 extern const multiple_polylog _default_multiple_polylog;
71 extern const Ssum _default_Ssum;
72 extern const Ssum_to_Infinity _default_Ssum_to_Infinity;
73
74 // hash tables
75
76 extern std::map<unsigned, GiNaC::ex> _table_list_of_tgamma;
77 extern int _flag_table_list_of_tgamma;
78 extern int _count_table_list_of_tgamma;
79
80 extern std::map<unsigned, GiNaC::ex> _table_transcendental_sum_type_A;
81 extern int _flag_table_transcendental_sum_type_A;
82 extern int _count_table_transcendental_sum_type_A;
83
84 extern std::map<unsigned, GiNaC::ex> _table_transcendental_sum_type_C;
85 extern int _flag_table_transcendental_sum_type_C;
86 extern int _count_table_transcendental_sum_type_C;
87
88} // namespace nestedsums
89
90#endif // ndef __NESTEDSUMS_CONSTANTS_H__
91
A Ssum_to_Infinity is a special case of a Ssum.
Definition Ssum_to_Infinity.h:43
Ssums form an algebra.
Definition Ssum.h:56
Zsums form a Hopf algebra.
Definition Zsum.h:54
A basic_letter is an element of an alphabet.
Definition basic_letter.h:50
The class list_of_tgamma is a container for the class ratio_of_tgamma.
Definition list_polygamma.h:50
A multiple polylog sum is a special case of a Zsum.
Definition multiple_polylog.h:54
A unit_letter is a letter whose letter content equals 1.
Definition unit_letter.h:45
Definition basic_letter.cc:35
const lst _empty_list
Definition constants.h:60
const unit_letter _unit_one_letter
Definition constants.h:63
int _nestedsums_evaluation_veto
Definition constants.cc:74
int _nestedsums_evaluation_veto_type_A
Definition constants.cc:79
int _nestedsums_evaluation_veto_type_C
Definition constants.cc:89
const int nestedsums_version_major
Definition constants.cc:41
int _nestedsums_evaluation_veto_type_B
Definition constants.cc:84
int _nestedsums_evaluation_veto_type_D
Definition constants.cc:94
const list_of_tgamma _empty_list_of_tgamma
Definition constants.h:65
const unit_letter _unit_zero_letter
Definition constants.h:62
int _debug_level
Definition constants.cc:69