 |
Cadabra
Computer algebra system for field theory problems
|
Go to the documentation of this file.
58 virtual void dispatch(std::ostream&, Ex::iterator)
override;
66 void print_productlike(std::ostream&, Ex::iterator,
const std::string& inbetween);
77 void print_other(std::ostream& str, Ex::iterator it);
82 std::map<std::string, std::string>
symmap;
87 std::map<nset_t::iterator, Ex, nset_it_less>
depsyms;
void print_sumlike(std::ostream &, Ex::iterator)
Definition: DisplaySympy.cc:441
uint32_t kunichar
Definition: DisplaySympy.hh:9
void print_other(std::ostream &str, Ex::iterator it)
Definition: DisplaySympy.cc:142
void print_closing_bracket(std::ostream &, str_node::bracket_t)
Definition: DisplaySympy.cc:286
void print_commalike(std::ostream &, Ex::iterator)
Definition: DisplaySympy.cc:352
virtual bool needs_brackets(Ex::iterator it) override
Determine if a node needs extra brackets around it.
Definition: DisplaySympy.cc:117
DisplaySympy(const Kernel &, const Ex &)
Definition: DisplaySympy.cc:14
const char * unichar(kunichar c)
Definition: DisplayTeX.cc:1018
void print_components(std::ostream &, Ex::iterator)
Definition: DisplaySympy.cc:514
void print_productlike(std::ostream &, Ex::iterator, const std::string &inbetween)
Printing members for various standard constructions, e.g.
Definition: DisplaySympy.cc:397
void print_opening_bracket(std::ostream &, str_node::bracket_t)
Definition: DisplaySympy.cc:263
void print_arrowlike(std::ostream &, Ex::iterator)
Definition: DisplaySympy.cc:369
void print_multiplier(std::ostream &, Ex::iterator)
Output the expression to a sympy-readable form.
Definition: DisplaySympy.cc:239
std::string preparse_import(const std::string &)
Definition: DisplaySympy.cc:598
std::multimap< std::string, std::string > regex_map
Definition: DisplaySympy.hh:83
uint32_t kunichar
Definition: DisplayMMA.hh:9
void print_children(std::ostream &, Ex::iterator, int skip=0)
Definition: DisplaySympy.cc:182
void print_parent_rel(std::ostream &, str_node::parent_rel_t, bool first)
Definition: DisplaySympy.cc:309
Functions to handle the exchange properties of two or more symbols in a product.
Definition: Adjform.cc:83
Definition: Storage.hh:141
bracket_t
Definition: Storage.hh:58
void print_powlike(std::ostream &, Ex::iterator)
Definition: DisplaySympy.cc:467
std::map< nset_t::iterator, Ex, nset_it_less > depsyms
Map from symbols which have had dependencies added to an expression containing these dependencies.
Definition: DisplaySympy.hh:87
void print_fraclike(std::ostream &, Ex::iterator)
Definition: DisplaySympy.cc:380
void print_partial(std::ostream &str, Ex::iterator it)
Definition: DisplaySympy.cc:534
Definition: DisplaySympy.hh:21
virtual void dispatch(std::ostream &, Ex::iterator) override
For every object encountered, dispatch will figure out the most appropriate way to convert it into a ...
Definition: DisplaySympy.cc:333
void print_matrix(std::ostream &str, Ex::iterator it)
Definition: DisplaySympy.cc:569
std::map< std::string, std::string > symmap
Map from Cadabra symbols to Sympy symbols.
Definition: DisplaySympy.hh:82
Definition: DisplayBase.hh:19
bool children_have_brackets(Ex::iterator ch) const
Definition: DisplaySympy.cc:589
parent_rel_t
Child nodes are related to their parent node by a so-called parent relation, which can be one of thes...
Definition: Storage.hh:62
void print_intlike(std::ostream &, Ex::iterator)
Definition: DisplaySympy.cc:485
void print_equalitylike(std::ostream &, Ex::iterator)
Definition: DisplaySympy.cc:501