| 2013-07-03 04:41:11 +0100 | received badge | ● Supporter (source) |
| 2013-06-17 16:37:43 +0100 | received badge | ● Necromancer (source) |
| 2013-06-17 15:48:18 +0100 | received badge | ● Teacher (source) |
| 2013-06-17 12:58:09 +0100 | answered a question | Functionality for elliptic curves over number fields I reported it on sage trac. |
| 2013-06-17 12:18:48 +0100 | answered a question | why this algorithm does not work? The problem is change_ring(). You must give the new ring of the coefficients instead of the new ring of f. The code below works. def roots(f, q): # return list of roots of f in finite field of q elements K = GF(q) r = [ ] g = f.change_ring(K) for a in K: if g(a) == 0: r.append(a) return r """EXAMPLE R.<x>=QQ['x'] roots(2*x+1,7) """ |
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.