Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #5083 > unrolled thread
| Started by | Thomas Dowling <thomasgdowling@gmail.com> |
|---|---|
| First post | 2011-09-19 11:13 +0000 |
| Last post | 2011-09-19 11:13 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: (x - 1) or (-1 + x) Thomas Dowling <thomasgdowling@gmail.com> - 2011-09-19 11:13 +0000
| From | Thomas Dowling <thomasgdowling@gmail.com> |
|---|---|
| Date | 2011-09-19 11:13 +0000 |
| Subject | Re: (x - 1) or (-1 + x) |
| Message-ID | <j5784d$jb5$1@smc.vnet.net> |
One method, due to Jean-Marc Gulliet (see link 1 below), uses the undocumented Polynomial Form 4 (1 - q) // PolynomialForm[#, TraditionalOrder -> True] & The reply of Jens-Peer Kuska given in the second link below may also be of interest. http : // forums.wolfram.com/mathgroup/archive/2008/Oct/msg00016.html http://forums.wolfram.com/mathgroup/archive/2008/Oct/msg00019.html On Sun, Sep 18, 2011 at 9:11 AM, Ralph Dratman <ralph.dratman@gmail.com>wrote: > > I feel like a small child asking this, but how can I get Mathematica to say > (x - 1) instead of (-1 + x), or to give me > > 4 (1 - q) > > instead of the doubly annoying > > -4 (-1 + q) ? > > In brief, given the choice, I prefer to look at subtraction rather than > negation. The binary operator instead of the unary. > > I'm not asking Mathematica to read my mind about the way I want every > possible expression to look, rather I am hoping to find out how to > transform > something I don't like into something I like, in a way that is guaranteed > not to change the value of the expression. > > Ralph Dratman >
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web