On 10 dec, 13:25, Jason Grout <jason-s...@creativetrax.com> wrote:

> 3. If you *really* want to use Q like you did above, you could do this:
>
> sage: Q=var('x,y,z')
> sage: f(*Q)=(x-z,y-z)
> sage: f
> (x, y, z) |--> (x - z, y - z)
>

This is exactly what I need, but thanks also for the explanation of
what goes on behind the scenes!  I had a few follow-questions, but I
can figure it out from here knowing what the preparser does.

Thanks a lot!
Joris

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to