[GiNaC-list] Substitution and re-evaluation

Vladimir V. Kisil V.Kisil at leeds.ac.uk
Wed Nov 10 12:42:28 CET 2021

>>>>> On Wed, 10 Nov 2021 11:33:59 +0100, Gregor Kälin <kaelingre at gmail.com> said:
    GK> Yes, I did override the eval() method. It's called correctly on
    GK> construction of an instance of the class.

    For my derived classes I am using the following "quick and dirty"
  approach for subs: I made calls to ex:subs() for components of the
  derived class, and then call a constructor with these substituted

  [Disclaimer: the above approach is likely fundamentally wrong and
  resulting from my poor understanding of C++ class inheritance.]
Vladimir V. Kisil                 http://www.maths.leeds.ac.uk/~kisilv/
  Book:      Geometry of Mobius Maps       https://doi.org/10.1142/p835
  Soft:      Geometry of cycles         http://moebinv.sourceforge.net/
  Jupyter notebooks:       https://github.com/vvkisil/MoebInv-notebooks

More information about the GiNaC-list mailing list