axiom-developer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

## [Axiom-developer] [#8 (Savannah bug #9297) output misses some parenthesi

 From: Bill Page Subject: [Axiom-developer] [#8 (Savannah bug #9297) output misses some parenthesis] Date: Thu, 30 Dec 2004 13:57:50 -0600

```++added:
summation(i^2^(d-c+1),i=a..b)

??changed:
-sum(operator(f)(i)+1,i=1..n)^2
sum(operator(f)(i),i=1..n)+1
sum(operator(f)(i)+1,i=1..n)^3

??changed:
-
Expressions (1) and (2) above appear to be indistinquishable
in the native Axiom text mode output.

In expressions (3) and (4) the scope of the summation is
ambiguous in both the text mode and formatted outputs.

A proposed [patch to combfunc.spad] adds parenthesis to the
sum and product outputForm::

ddprod l ==
-      prod(summand(l)::O, third(l)::O = fourth(l)::O, fourth(rest l)::O)
+      paren(prod(summand(l)::O, third(l)::O = fourth(l)::O, fourth(rest
l)::O))

ddsum l ==
-      sum(summand(l)::O, third(l)::O = fourth(l)::O, fourth(rest l)::O)
+      paren(sum(summand(l)::O, third(l)::O = fourth(l)::O, fourth(rest
l)::O))

--
forwarded from http://page.axiom-developer.org/zope/mathaction/address@hidden

```

reply via email to

 [Prev in Thread] Current Thread [Next in Thread]
• [Axiom-developer] [#8 (Savannah bug #9297) output misses some parenthesis], Bill Page <=