View Single Post
Old 2007-04-19, 22:35   #1
yqiang
 
Apr 2007

3 Posts
Default using libecm from python

Hello,
I am writing a wrapper for ecm using python and pyrex. I have successfully wrapped the ecm_factor method defined in ecm.h but am a bit confused about the factors it sometimes finds.

If I call ecm_factor(f, n, B1, NULL), the factor it finds is sometimes equal to n. I thought it was supposed to return you a nontrivial factor.

Cheers,
Yi
yqiang is offline   Reply With Quote