2009/9/3 javier <vengor...@gmail.com>: > > > On Sep 3, 9:36 am, William Stein <wst...@gmail.com> wrote: >> Sage has the Gaussian integers, and I'm sure the basic arithmetic and >> functionality is as good or better than Mathematica already. > > Sure, what I meant (sorry if I wasn't very clear) is to make an > straightforward way to access it, kind of > > R = GaussianIntegers() > > in which you could factor directly the elements without needing to > define the ideals generated by them. Functionality is of course > equivalent to what we already have, just thought it would be nice > (maybe just for marketing reasons) to be able to do something like > > (1 + I).is_prime()
I always thought that Maple's and Mathematica's ability to work directly with Gaussian Integers was just that, a marketing ploy, giving certain customers the impression of very fancy capabilities with algebraic numbers. But of course number theorists know that this is just one interesting ring o algebraic integers, certainly the easiest to define, but not exactly typical. A number theorist requires far more than that -- as Sage does provide -- and for others is this not just a curiosity? Maybe a useful one for teaching, though, and implementing this would certainly be possible. John > > Cheers > Javier > > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---