sumcontract SciMax Toolbox summand_to_rec

SciMax Toolbox >> sumexpand

sumexpand

Option variable

sumexpand

Description

Default value: false

When sumexpand is true, products of sums and exponentiated sums simplify to nested sums.

See also .

Examples:

(%i1) sumexpand: true$
(%i2) sum (f (i), i, 0, m) * sum (g (j), j, 0, n);
                     m      n
                    ====   ====
                    \      \
(%o2)                >      >     f(i1) g(i2)
                    /      /
                    ====   ====
                    i1 = 0 i2 = 0
(%i3) sum (f (i), i, 0, m)^2;
                     m      m
                    ====   ====
                    \      \
(%o3)                >      >     f(i3) f(i4)
                    /      /
                    ====   ====
                    i3 = 0 i4 = 0
sumcontract SciMax Toolbox summand_to_rec