On Thursday, May 4, 2017 at 4:02:11 PM UTC-7, Jim Mooney wrote:
>
> Why do I sometimes see just var('y') and other times see y = var('y')? The
> result seems to be the same since I can use y in either case.
>
See the doc of SR.var and var.
y=SR.var('y')
is the "fundamental" construct, and assignment is required.
For interactive use, `var("y")` can be used. It needs some dark magic to
inject the bindings. `y=var('y")` basically binds y twice. It's a matter of
taste which you prefer.
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.