Thanks to all! On Sunday, November 21, 2021 at 6:35:06 PM UTC+2 Paul Royik wrote:
> 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/34a1037d-9828-4014-9322-bf83e4603cfcn%40googlegroups.com.
