[sage-support] Re: function problem

2013-01-21 Thread P Purkayastha
I think one place where this is discussed is this page: http://www.sagemath.org/doc/tutorial/tour_functions.html There should be a similar page in any sage installation which has the documentation built in it. On 01/21/2013 05:51 PM, robin hankin wrote: OK, thanks for this. It works! Where

Re: [sage-support] Re: function problem

2013-01-21 Thread robin hankin
OK, thanks for this. It works! Where would I have found this distinction in the documentation? Thanks Robin On Mon, Jan 21, 2013 at 10:37 PM, P Purkayastha wrote: > On 01/21/2013 05:01 PM, robin hankin wrote: >> >> Hello. kubuntu linux, sage 5.5 >> >> I want to define a function that takes a

[sage-support] Re: function problem

2013-01-21 Thread P Purkayastha
On 01/21/2013 05:01 PM, robin hankin wrote: Hello. kubuntu linux, sage 5.5 I want to define a function that takes argument 'x' and returns 'x^2'. But I cannot make this idea work when 'x' is an element of a permutation group. As per the snippet below, 'u^2' is perfectly well defined, but f(u)