]> www.ginac.de Git - ginac.git/blobdiff - ginac/relational.h
Finalize 1.8.2 release.
[ginac.git] / ginac / relational.h
index c8bf8b6d44c306a2b2f88c3126a595270e278d63..325ce45cc0b7ce5e58eb383b39ed98ba076bbdfa 100644 (file)
@@ -3,7 +3,7 @@
  *  Interface to relations between expressions. */
 
 /*
- *  GiNaC Copyright (C) 1999-2015 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2022 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -58,12 +58,13 @@ public:
        ex op(size_t i) const override;
        ex map(map_function & f) const override;
        ex subs(const exmap & m, unsigned options = 0) const override;
-       ex eval(int level=0) const override;
 
        /** Save (a.k.a. serialize) object into archive. */
        void archive(archive_node& n) const override;
        /** Read (a.k.a. deserialize) object from archive. */
        void read_archive(const archive_node& n, lst& syms) override;
+       ex canonical() const;
+
 protected:
        ex eval_ncmul(const exvector & v) const override;
        bool match_same_type(const basic & other) const override;
@@ -77,8 +78,8 @@ protected:
        void do_print_python_repr(const print_python_repr & c, unsigned level) const;
 
 public:
-       virtual ex lhs() const;
-       virtual ex rhs() const;
+       ex lhs() const { return lh; }
+       ex rhs() const { return rh; }
 
        // non-virtual functions in this class
 private: