Hi,
Consider the following expression sequence:
sage: var('y')
y
sage: f = x**2 + y**2
sage: yvar = y
sage: xvar = x
sage: f(yvar = xvar)
x^2 + y^2
sage: f({yvar:xvar})
2*x^2
I was under the impression that both forms of substitution should
return the same thing, but apparently not. Can someone explain the
distinction to me?
regards
john perry
--~--~---------~--~----~------------~-------~--~----~
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
URL: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---