#include "numeric.h"
#include "symbol.h"
-#ifndef NO_NAMESPACE_GINAC
using namespace GiNaC;
namespace GiNaC {
-#endif // ndef NO_NAMESPACE_GINAC
#include "input_parser.h"
-#ifndef NO_NAMESPACE_GINAC
} // namespace GiNaC
-#endif // ndef NO_NAMESPACE_GINAC
// Table of all used symbols
struct sym_def {
"<=" return T_LESSEQ;
">=" return T_GREATEREQ;
- /* matrix delimiters */
-\[\[ return T_MATRIX_BEGIN;
-\]\] return T_MATRIX_END;
-
/* numbers */
{D}+ |
"#"{D}+"R"{AN}+ |
return 1;
}
-#ifndef NO_NAMESPACE_GINAC
namespace GiNaC {
-#endif // ndef NO_NAMESPACE_GINAC
// Set the input string
void set_lexer_string(const std::string &s)
return (*i).second.predefined;
}
-#ifndef NO_NAMESPACE_GINAC
} // namespace GiNaC
-#endif // ndef NO_NAMESPACE_GINAC