Hi, On Tue, Apr 6, 2010 at 12:34 AM, bb <[email protected]> wrote: > I am a simple minded user and have some questions concerning Sage functions. > May be I misunderstand the docu at > http://sage.math.washington.edu/home/mhansen/sage-epydoc/sage.rings.arith-module.html#primes?
Scroll down to the very end of that HTML document and you would see the time and date stamps: Generated by Epydoc 3.0beta1 on Thu Jul 17 04:23:28 2008 This means that the documentation you are referring to is nearly 2 years old. So you should not expect it to be a good reflection of the current state of Sage. I encourage you to refer to the official reference manual [1] on the Sage website. > I also did some syntactic variations without success. I argue that prange() > and primerange should be identic, but there is a link or an alias missing? Many, many versions of Sage ago, prange() and prime_range() were one and the same function. But now, prange() has been removed so you only need to use prime_range(). You also have the choice of using primes(). Both prime_range() and primes() achieve the same result. However, prime_range() can use more memory than primes(). To read their documentation, from the Sage command line, do sage: prime_range?? sage: primes? [1] http://www.sagemath.org/doc/reference/ -- Regards Minh Van Nguyen -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org To unsubscribe, reply using "remove me" as the subject.
