Hi everyone, say I have a function of both an integer n and a complex z
def f(n,z): return z**n For any tuple of integer (a_1,a_2, ..., a_k), (actually, k and a_i are random), I want to form the function z -> sum_{i=1}^k |f(a_i, z)|^2 The result must still be a function. I guess it is something which can be done by redefining a new class but I'm a totally newbie at object programming. Can you help me ? -- 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.