Let's say I have two variables X, Y. When I use simplify_full(), how do I make sure the final expression is ordered as monomial of Y instead of X? Thanks!
| 1 | initial version |
Let's say I have two variables X, Y. When I use simplify_full(), how do I make sure the final expression is ordered as monomial of Y instead of X? Thanks!
Let's say I have two variables X, Y. x, q. When I use simplify_full(), how do I make sure the final expression is ordered as monomial of Y X instead of X? q? For example, let f=q^2+x+1, g=qx+1. Somehow if I use simplify_full() to simplify fg, then the monomial is of the following form (expression in terms of x)q^3+(expression in terms of x)q^2...
But actually I regard x as the variable, q as power of prime number. So I wish to order the expression like: (expression in terms of q)X^2+(expression in terms of q)X+(expression in terms of q)
Thanks!
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.