Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #12379

Re: Subscript on plus expression

From Murray Eisenberg <murray@math.umass.edu>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Subscript on plus expression
Date 2012-11-18 22:16 +0000
Message-ID <k8bmnc$dhc$1@smc.vnet.net> (permalink)
References <20121117084935.868E56AF3@smc.vnet.net> <20121118085738.792336A30@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


On Nov 18, 2012, at 3:57 AM, Dave Snead <dsnead6@charter.net> wrote:

> Mathematica fails to parenthesize the a+b in
> Subscript[Plus[a,b],k]
>
> so the output looks identical to
> Plus[a,Subscript[b,k]]
>
> Is this a bug?
> Is there an option to force the parentheses?

I don't know off hand of any such option, but is it so unreasonable to 
insert parentheses explicitly in the first? After all, that's surely 
what you'd do if writing it with pencil on paper!

---
Murray Eisenberg                                    
murray@math.umass.edu
Mathematics & Statistics Dept.      
Lederle Graduate Research Tower            phone 413 549-1020 (H)
University of Massachusetts                               413 545-2838 (W)
710 North Pleasant Street                         fax   413 545-1801
Amherst, MA 01003-9305





Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: Subscript on plus expression Murray Eisenberg <murray@math.umass.edu> - 2012-11-18 22:16 +0000

csiph-web