Difference between var() commands
x,y = var('x y')
x,y = var('x, y')
What is the difference between having the comma in between variable names? As opposed to just a space separating them.
x,y = var('x y')
x,y = var('x, y')
What is the difference between having the comma in between variable names? As opposed to just a space separating them.
There is no difference in terms of what is returned -- you can use whichever you prefer. However, you have to be consistent.
"being consistent" means that you can't do `var('x,y z')`
Asked: 2012-05-10 13:48:21 -0600
Seen: 184 times
Last updated: May 10 '12
a problem with variables in real domains
Plotting an integral with a variable as a limit
How can I clear an assignment to a variable?
implicitly defining a sequence of variables
Why is Sage calling 1 a variable?
Eliminating variables from a system of equations?
Why Sage cannot pass a value of variable from one function to another nested function?