Just to print it. On Sunday, November 21, 2021 at 12:25:16 PM UTC+2 [email protected] wrote:
> Internally, Poly will expand it. It would be possible to make a printer > that prints the expression in factored form, however. But why do you want > to do that? What is the goal/problem? > > /c > > On Saturday, November 20, 2021 at 1:59:08 AM UTC-6 [email protected] > wrote: > >> Poly((x-1)**2, x) returns Poly(x**2-2x+1, x). >> Is it possbile to retain the expression as it is, i.e. (x-1)**2 ? >> > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/18e85fba-b9e5-4dc3-8c86-14f4d791ab54n%40googlegroups.com.
