#ifndef __GINAC_RELATIONAL_H__
#define __GINAC_RELATIONAL_H__
-#include <ginac/basic.h>
-#include <ginac/ex.h>
+#include "basic.h"
+#include "ex.h"
-#ifndef NO_GINAC_NAMESPACE
+#ifndef NO_NAMESPACE_GINAC
namespace GiNaC {
-#endif // ndef NO_GINAC_NAMESPACE
+#endif // ndef NO_NAMESPACE_GINAC
/** This class holds a relation consisting of two expressions and a logical
* relation between them. */
ex & let_op(int i);
ex eval(int level=0) const;
ex evalf(int level=0) const;
+ ex normal(lst &sym_lst, lst &repl_lst, int level=0) const;
ex simplify_ncmul(const exvector & v) const;
protected:
int compare_same_type(const basic & other) const;
unsigned return_type_tinfo(void) const;
// new virtual functions which can be overridden by derived classes
- // none
+public:
+ virtual ex lhs(void) const;
+ virtual ex rhs(void) const;
// non-virtual functions in this class
public:
return static_cast<const relational &>(*e.bp);
}
-#ifndef NO_GINAC_NAMESPACE
+#ifndef NO_NAMESPACE_GINAC
} // namespace GiNaC
-#endif // ndef NO_GINAC_NAMESPACE
+#endif // ndef NO_NAMESPACE_GINAC
#endif // ndef __GINAC_RELATIONAL_H__