Status: Accepted Owner: asmeurer Labels: Type-Defect Priority-Medium NeedsReview
New issue 1828 by asmeurer: Visual factorint() http://code.google.com/p/sympy/issues/detail?id=1828 Add visual option to factorint() This lets you get a visual factorization of an integer, which is much easier to read than the dictionary normally returned. For example: In [1]: factorint(42**2) Out[1]: {2: 2, 3: 2, 7: 2} In [2]: factorint(42**2, visual=True) Out[2]: 2 2 2 2 ⋅3 ⋅7 This works by using the evaluate=False flag in Mul and Pow. I also added information to the docstring of factorint(), including two nice list comprehensions that will convert between one form and the other. Tests added. See http://github.com/asmeurer/sympy/tree/visual-factorint -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings -- You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sympy-issues?hl=en.
