Robert Bradshaw wrote:
>
> It's just syntactic sugar.
To see what Sage transforms something like this into, you can use the
preparse function:
sage: preparse('f(y,z)=y^2+z')
'__tmp__=var("y,z"); f = symbolic_expression(y**Integer(2)+z).function(y,z)'
So the variables are first declared with var(), then the expression is
constructed, and then the .function() method is called.
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---