On 2013-7-17 02:07, Laurent Decreusefond wrote:
For any tuple of integer (a_1,a_2, ..., a_k),  [...]
I want to form the function

z -> sum_{i=1}^k |f(a_i, z)|^2

Won't this work?

        def ff(atuple,z):
                return sum([ abs(f(n,z))**2 for n in atuple ])

--
*\\*  Anton Sherwood  *\\*  www.bendwavy.org

--
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 sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
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