Beginner's questions, I guess.Some time ago, Emmanuel Charpentier wrotevar("v", n=2)which gives(v0, v1)Where is this documented? I have been unable to find keywords for var other than domain and latex_name. Are there any others?
Another question:I have learnt to writex,y,z=var('x,y,z')
Is it possible to do the same forv0,v1,v2=var('v', n=3)without having to write explicitly the LHS?
even more simpler :-) :
sage: V=var("v", n=8)
sage: V
(v0, v1, v2, v3, v4, v5, v6, v7)
sage: v2
v2
sage: V[2]
v2
“Who could ask for anything mooooore ?”
Thanks Samuel and Emmanuel.Follow up question: Why doesvar('lambda',n=1)fail?