Loading...
Searching...
No Matches
mathml.h
1#ifndef SYMENGINE_MATHML_H
2#define SYMENGINE_MATHML_H
3
4#include <symengine/visitor.h>
5#include <symengine/printers/strprinter.h>
6
7namespace SymEngine
8{
9class MathMLPrinter : public BaseVisitor<MathMLPrinter, StrPrinter>
10{
11protected:
13
14public:
15 static const std::vector<std::string> names_;
16 void bvisit(const Basic &x);
17 void bvisit(const Symbol &x);
18 void bvisit(const Integer &x);
19 void bvisit(const Rational &x);
20 void bvisit(const ComplexBase &x);
21 void bvisit(const Interval &x);
22 void bvisit(const Piecewise &x);
23 void bvisit(const EmptySet &x);
24 void bvisit(const Complexes &x);
25 void bvisit(const Reals &x);
26 void bvisit(const Rationals &x);
27 void bvisit(const Integers &x);
28 void bvisit(const FiniteSet &x);
29 void bvisit(const ConditionSet &x);
30 void bvisit(const Contains &x);
31 void bvisit(const BooleanAtom &x);
32 void bvisit(const And &x);
33 void bvisit(const Or &x);
34 void bvisit(const Xor &x);
35 void bvisit(const Not &x);
36 void bvisit(const Union &x);
37 void bvisit(const Complement &x);
38 void bvisit(const ImageSet &x);
39 void bvisit(const Add &x);
40 void bvisit(const Mul &x);
41 void bvisit(const Pow &x);
42 void bvisit(const Constant &x);
43 void bvisit(const Function &x);
44 void bvisit(const FunctionSymbol &x);
45 void bvisit(const Derivative &x);
46 void bvisit(const UnevaluatedExpr &x);
47 // void bvisit(const Subs &x);
48 void bvisit(const RealDouble &x);
49 void bvisit(const Equality &x);
50 void bvisit(const Unequality &x);
51 void bvisit(const LessThan &x);
52 void bvisit(const StrictLessThan &x);
53#ifdef HAVE_SYMENGINE_MPFR
54 void bvisit(const RealMPFR &x);
55#endif
56 // void bvisit(const NumberWrapper &x);
57 std::string apply(const Basic &b);
58};
59} // namespace SymEngine
60
61#endif // SYMENGINE_MATHML_H
The base class for representing addition in symbolic expressions.
Definition add.h:27
The lowest unit of symbolic representation.
Definition basic.h:97
ComplexBase Class for deriving all complex classes.
Definition complex.h:16
Integer Class.
Definition integer.h:19
Rational Class.
Definition rational.h:16
RealDouble Class to hold double values.
Definition real_double.h:20
Main namespace for SymEngine package.
Definition add.cpp:19