Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #5083
| From | Thomas Dowling <thomasgdowling@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: (x - 1) or (-1 + x) |
| Date | 2011-09-19 11:13 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <j5784d$jb5$1@smc.vnet.net> (permalink) |
| References | <201109180811.EAA06337@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 comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: (x - 1) or (-1 + x) Thomas Dowling <thomasgdowling@gmail.com> - 2011-09-19 11:13 +0000
csiph-web