[GiNaC-list] archive/unarchive on functions with a variable number of arguments

Vladimir V. Kisil V.Kisil at leeds.ac.uk
Wed Apr 8 08:07:41 CEST 2020


	Dear Richard,

	Thanks for properly fixing it. Looking into the matter I also
  was not able to understand LaTeX printing routine for zeta with two
  parameters: it outputs \zeta(10) for zeta(10,x). But as I
  said, I am not familiar with zeta with two arguments to judge the
  situation.

  Best wishes,
  Vladimir
-- 
Vladimir V. Kisil                 http://www.maths.leeds.ac.uk/~kisilv/
  Book:     Geometry of Mobius Transformations     http://goo.gl/EaG2Vu
  Software: Geometry of cycles          http://moebinv.sourceforge.net/
  Jupyter: https://github.com/vvkisil/MoebInv-notebooks
>>>>> On Wed, 8 Apr 2020 00:13:11 +0200, "Richard B. Kreckel" <kreckel at in.terlu.de> said:

    RK> Hi!

    RK> On 06.04.20 14:23, Vladimir V. Kisil wrote:
    >> It seems there is indeed an issue with archiving zeta2, since
    >> both versions has the same name (it may be similar issues with
    >> other overloaded function names). I do not know what is zeta, but
    >> I am attaching a patch fixing it. To have the same printout of
    >> the function as before, a new function zeta2_print_dflt() has to
    >> be introduced.

    RK> Thanks a lot for the patch!

    RK> I think we can do a little bit better in this case: The archive
    RK> contains the function's number of parameters - after all the
    RK> parameters are stored in it. So, let's use this information and
    RK> try a little harder matching the correct overload when reading
    RK> the archive node.

    RK> I've committed a fix.

    RK> Cheers -richy.

    RK> PS: Vladimir, I can't believe that you don't know what zeta is.
    RK> :) _______________________________________________ GiNaC-list
    RK> mailing list GiNaC-list at ginac.de
    RK> https://www.ginac.de/mailman/listinfo/ginac-list


More information about the GiNaC-list mailing list