Hey everyone:
I'm just looking for the documentation for properly defining functions on
Sage. As far as I can tell, there are several ways to define functions. I
think you can define functions as sage objects, and then functions as
python functions, and then also lambda functions through python. I don't
really understand the difference between the former two options, or the
difference in how to create them. I also don't understand if they do things
differently. Is there some documentation on properly defining functions.
For example, what is the difference between:
var('x')
f(x) = x^2 #just an eg function
and
var('x')
f = x^2
Moreover, what are the implications or possible problems with:
var('x,y')
f(x) = x^2*y
Thanks! I tried googling for this but I couldn't find a clear answer
anywhere.
--
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 https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.