Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #4358 > unrolled thread
| Started by | paulvonhippel at yahoo <paulvonhippel@yahoo.com> |
|---|---|
| First post | 2011-08-13 10:48 +0000 |
| Last post | 2011-08-14 12:17 +0000 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
Order of polynomial terms paulvonhippel at yahoo <paulvonhippel@yahoo.com> - 2011-08-13 10:48 +0000
Re: Order of polynomial terms Peter Breitfeld <phbrf@t-online.de> - 2011-08-14 12:17 +0000
| From | paulvonhippel at yahoo <paulvonhippel@yahoo.com> |
|---|---|
| Date | 2011-08-13 10:48 +0000 |
| Subject | Order of polynomial terms |
| Message-ID | <j25kqp$oti$1@smc.vnet.net> |
By default Mathematica displays polynomials with the lowest degree first -- e.g., -1 + n For purposes of display, I'd like to reorder the polynomial conventionally, with the highest degree first -- e.g., n - 1 Anyone know a convenient way to do this? I was using TraditionalForm with great satisfaction but that option's out now because TraditionalForm is incompatible with something else I'm using (Symbolize).
[toc] | [next] | [standalone]
| From | Peter Breitfeld <phbrf@t-online.de> |
|---|---|
| Date | 2011-08-14 12:17 +0000 |
| Message-ID | <j28ec5$3dd$1@smc.vnet.net> |
| In reply to | #4358 |
You may use PolynomialForm and set TraditionalOrder to True: SetOptions[PolynomialForm,TraditionalOrder->True] expr=x^2+3x+7 expr//PolynomialForm But beware, PolynomialForm works like MatrixForm, so expr=x^2+3x+7//PolynomialForm ----> x^2+3x+7 Then 13 expr //Expand will not expand, but 13 expr[[1]] //Expand//PolynomialForm ----> 13x^2+39x+91 or better always use like this, as you do with MatrixForm, Columm etc. (expr= x^2+3x+7)//PolynomialForm paulvonhippel at yahoo wrote: > By default Mathematica displays polynomials with the lowest degree > first -- e.g., > -1 + n > For purposes of display, I'd like to reorder the polynomial > conventionally, with the highest degree first -- e.g., > n - 1 > Anyone know a convenient way to do this? I was using TraditionalForm > with great satisfaction but that option's out now because > TraditionalForm is incompatible with something else I'm using > (Symbolize). > -- _________________________________________________________________ Peter Breitfeld, Bad Saulgau, Germany -- http://www.pBreitfeld.de
[toc] | [prev] | [standalone]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web