* Interface to relations between expressions. */
/*
- * GiNaC Copyright (C) 1999-2015 Johannes Gutenberg University Mainz, Germany
+ * GiNaC Copyright (C) 1999-2024 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
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;
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: