[GiNaC-list] Question: "expand" power in ginac

Vladimir V. Kisil kisilv at maths.leeds.ac.uk
Wed Oct 16 14:48:56 CEST 2019


>>>>> On Wed, 16 Oct 2019 12:29:19 +0200, "Clobert von Roum" <cloberta at gmx.de> said:

    CvR> Hey!  I have a short question: Is there a function in ginac to
    CvR> write out "power expressions" as product ?  e.g.: x^3 = x*x*x

    It seems there is no such a possibility at the moment...

    A question to the developers:

  I have expected that mul(x,x).hold() will return x*x instead of
  x^2. Is it the planned behaviour and my expectations were wrong?
-- 
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 (Colab):         https://github.com/vvkisil/MoebInv-notebooks
  Jupyter (CodeOcean):       https://codeocean.com/capsule/7952650/tree


More information about the GiNaC-list mailing list