3 * Collection of all flags used through the GiNaC framework.
5 * GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 #ifndef __GINAC_FLAGS_H__
23 #define __GINAC_FLAGS_H__
25 class expand_options {
27 enum { expand_trigonometric = 0x0001
33 enum { dynallocated = 0x0001,
36 hash_calculated = 0x0008
43 // answered by class numeric
58 // answered by class relation
63 relation_less_or_equal,
65 relation_greater_or_equal,
67 // answered by class symbol
70 // answered by class lst
73 // answered by class exprseq
76 // answered by classes numeric, symbol, add, mul, power
82 // answered by class ex
85 // answered by class indexed
86 indexed, // class can carry indices
87 has_indices, // object has at least one index
89 // answered by class idx
92 // answered by class coloridx
95 // answered by class lorentzidx
102 enum { commutative, noncommutative, noncommutative_composite};
114 #endif // ndef __GINAC_FLAGS_H__