--- doc-main-2.11.0/tut/tutworks.tex 2008-03-31 13:11:51.000000000 +1000 +++ doc-main-2.11.1/tut/tutworks.tex 2008-04-02 08:00:46.000000000 +1000 @@ -2777,7 +2777,7 @@ We can also compute the above power in some of the computer algebra systems that \sage includes. In each case we execute a trivial command in the system, in order to start up the -server for that program. The most relavant time is the wall time. +server for that program. The most relevant time is the wall time. However, if there is a significant difference between the wall time and the CPU time then this may indicate a performance issue worth looking into. @@ -3388,7 +3388,7 @@ sage: pari('znprimroot(10007)') Mod(5, 10007) \end{verbatim} -In the first case a separate copy of the GP interepreter is +In the first case a separate copy of the GP interpreter is started as a server, and the string \code{'znprimroot(10007)'} is sent to it, evaluated by GP, and the result is assigned to a variable in GP (which takes up space in the child GP @@ -3756,7 +3756,7 @@ simultaneously similar to both Python and C. Most Python constructions, including list comprehensions, conditional expressions, code like \code{+=} are allowed; you can also import code that you -have written in other Python modules. Morever, one can declare +have written in other Python modules. Moreover, one can declare arbitrary C variables and arbitrary C library calls can be made directly. The resulting code is converted to C and compiled using a C compiler. @@ -4177,7 +4177,7 @@
\section{Iterators} -Iterators are a recent addition to Python that are particulary useful +Iterators are a recent addition to Python that are particularly useful in mathematics applications. Here are several examples; see \cite{PyT} for more details. We make an iterator over the squares of the nonnegative integers up to $10000000$. Regards Minh Van Nguyen --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---