On 01/17/12 09:29, Jason Grout wrote: > > You can do this: > > var('x') > > instead of this: > > x=var('x') > > That's less error-prone (you don't have to type/mistype the variable > twice), easier to type, etc. >
(completely off-topic) There should really be a page explaining the different ways to create symbolic variables. For every person using sage for research, there are probably ten who are just using it as a glorified calculator. It took me two or three years to realize that I should be using SR.symbol('x', domain=...) instead of var('x') and assume(). Or R<x> = foo, or QQ['x'], or... There are plenty of examples, just no one place explaining the differences and what each one does. -- 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