Hi Sympy group,
many of you are obviously reading the scipy mailing list ...
So I just wanted to hear your comments on the posting below:
I looked up the home page of NZMATH
and was wondering how it compares to sympy ?
Obviously their stuff about rational numbers and polynomials exists in
sympy, so how about the factorization part !?

Regards,
Sebastian Haase

PS: hope to see some of you in Leipzig this year

[SciPy-user] prime factorization...
> Hi all,
> Is there any function in scipy that gives the prime factorization?
> ie 50 -> [5, 5, 2]?
> TIA
> Cheers,
> > --
> > Fred
>
> Let me tell you there is another solution: NZMATH
> http://tnt.math.metro-u.ac.jp/nzmath/index.html
> which is written in Python.
> >>> import nzmath.factor.methods as methods
> >>> dir(methods)
> ['DefaultMethod', 'EllipticCurveMethod', 'MPQSMethod', 'PMinusOneMethod', 
> 'RhoMethod', 'TrialDivision', '__builtins__', '__doc__', '__file__', 
> '__name__', 'arith1', 'bigrange', 'ecm', 'ecmfind', 'factor', 'find', 'mpqs', 
> 'mpqsfind', 'pmom', 'prime', 'rhomethod', 'trialDivision', 'util']
> >>> methods.factor(50)
> [(2, 1), (5, 2)]
> >>> methods.factor(18440000000000000000)
> [(2, 18), (5, 16), (461L, 1)]
> Regards,

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to sympy@googlegroups.com
To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sympy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to