On 8/15/13 5:24 AM, Jean Dubois wrote:
pi = lambda x: pari(x).primepi()

lambda is a way of making a short function without having to name it. The result of the above line is that pi(x) will call pari(x).primepi(). As David mentioned, the real work is done by Pari here.

More technical documentation for lambda functions is here: http://docs.python.org/2/tutorial/controlflow.html#lambda-forms

Thanks,

Jason


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to