| 1 | initial version |
You can define e.g.
xbar = R.gens()
Then xbar[0] will be the first generator, namely x0bar, etc.
You can also do
R.inject_variables()
which defines the variable x0bar to be the corresponding generator (etc.), if you insist.
The first approach seems cleaner to me. The second one could be convenient in an interactive session.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.