On 17-Jan-08, at 10:19 AM, Soroosh Yazdani wrote:
> On Jan 17, 2008 9:33 AM, David Kohel <[EMAIL PROTECTED]> wrote: > X = Iso(E1,E2) # does nothing > X.cardinality() # tests is_isomorphic and j-invariant = 0 or 12^3 > X.representative() # computes an isomorphism > X.list() # computes all isomorphisms > > The advantage of creating X is that it can cache the above data > for efficiency. > +1 +1 -- this kind of structure is what makes Sage more powerful than GP/ PARI and often Magma. What's old is new again: Smalltalkers say 'everything is an object' and Sage should too. Nick --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---