On Wed, 16 Oct 2019 12:29:19 +0200, "Clobert von Roum" <cloberta@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
Hi, On 16.10.19 12:29, Clobert von Roum wrote:
I have a short question: Is there a function in ginac to write out "power expressions" as product ? e.g.: x^3 = x*x*x
No, there isn't. (Depending on what you wish to accomplish, you may research into wildcards or write your own visitors.) -richy.
participants (3)
-
Clobert von Roum
-
Richard B. Kreckel
-
Vladimir V. Kisil