On 10 dec, 13:25, Jason Grout <[email protected]> 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 [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to