RE: In order = Out order
- To: mathgroup at smc.vnet.net
- Subject: [mg34540] RE: [mg34506] In order = Out order
- From: "David Park" <djmp at earthlink.net>
- Date: Mon, 27 May 2002 01:16:20 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Matthias,
You could try something like this:
HoldForm[1/2{c, b, a}] /. List -> Plus
David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/
> From: Matthias.Bode at oppenheim.de [mailto:Matthias.Bode at oppenheim.de]
To: mathgroup at smc.vnet.net
>
> Dear Colleagues,
>
> purely for readability I wish to obtain the output in the same order the
> input was presented, e.g.:
> In:
> a= lengthy expr one;
> b= lengthy expr two;
> c= lengthy expr three;
>
> have been deduced and are now combined:
>
> In: (a+b+c) * 1/2
>
> Out: (lengthty expr one* lengthy expr three* lengthy expr two)*1/2
>
> Lexicographal ordering is undesirable in this case because the reader has
> difficulties in finding what he expects intuitively. Presently, I
> make it a
> TextCell and cut and paste the expressions - which is cumbersome. Better
> method?
>
> Best regards,
> Matthias Bode
> Sal. Oppenheim jr. & Cie. KGaA
> Koenigsberger Strasse 29
> D-60487 Frankfurt am Main
> GERMANY
> Tel.: +49(0)69 71 34 53 80
> Mobile: +49(0)172 6 74 95 77
> Fax: +49(0)69 71 34 95 380
> E-mail: matthias.bode at oppenheim.de
> Internet: http://www.oppenheim.de
>
>
>