deep=True option in factor

12 views
Skip to first unread message

Paul Royik

unread,
Jul 28, 2020, 9:39:28 AM7/28/20
to sympy
What does this flag control?

factor(2**(x**2 + 2*x + 1)) is not factored

factor(sqrt(x**2 + 2*x + 1)) is factored

Aaron Meurer

unread,
Jul 28, 2020, 3:21:24 PM7/28/20
to sympy
I would say the sqrt() one not respecting the deep flag should be
considered a bug.

Aaron Meurer
> --
> 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 sympy+un...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/3e1ab694-a469-4767-8ba1-2f18cf712edeo%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages