Sponsored links: Algebra eBooks ### Related

##### niceindices-powerseries

niceindices (powerser...

Calculate

##### niceindices-powerseries

niceindices(powerseri...

Calculate

##### niceindices-powerseries-taylor

niceindices(powerseri...

taylor(sinx, x, 0, 5);

Calculate

##### niceindices-plot2d-powerseries-taylor-trunc niceindices(powerseri...

taylor(%e^x, x, 0, 5);

plot2d([trunc(%), %e^...

Calculate

##### niceindices-powerseries-sqrt

powerseries(1/sqrt(x^...

niceindices(%i1);

Calculate

##### niceindices-powerseries

niceindices(powerseri...

laurent(%e^x, x, 0, 5);

Calculate

? niceindices;

Calculate

##### niceindices-powerseries-sqrt

powerseries(1/sqrt(x^...

niceindices();

Calculate

##### niceindices-powerseries-taylor

niceindices(powerseri...

taylor(sinx, x, 0, 5);

Calculate

##### niceindices-powerseries-sqrt

powerseries(1/sqrt(x^...

niceindices(%i1);

Calculate

### niceindices

Run Example
```(%i1)? niceindices;

-- Function: niceindices (<expr>)
Renames the indices of sums and products in <expr>.  `niceindices'
attempts to rename each index to the value of `niceindicespref',
unless that name appears in the summand or multiplicand, in which
case `niceindices' tries the succeeding elements of
`niceindicespref' in turn, until an unused variable is found.  If
the entire list is exhausted, additional indices are constructed
by appending integers to the value of `niceindicespref', e.g.,
`i0', `i1', `i2', ....

`niceindices' returns an expression.  `niceindices' evaluates its
argument.

Example:

(%i1) niceindicespref;
(%o1)                  [i, j, k, l, m, n]
(%i2) product (sum (f (foo + i*j*bar), foo, 1, inf), bar, 1, inf);
inf    inf
/===\   ====
! !    \
(%o2)            ! !     >      f(bar i j + foo)
! !    /
bar = 1 ====
foo = 1
(%i3) niceindices (%);
inf  inf
/===\ ====
! !  \
(%o3)                ! !   >    f(i j l + k)
! !  /
l = 1 ====
k = 1

There are also some inexact matches for `niceindices'.
Try `?? niceindices' to see them.

(%o1)                                true
(%i2) ```
Run Example
```niceindices(powerseries(%e^x, x, 0));
inf
====   i
\     x
(%o1)                               >    --
/     i!
====
i = 0
(%i2) taylor(%e^x, x, 0, 6);
2    3    4    5     6
x    x    x    x     x
(%o2)/T/           1 + x + -- + -- + -- + --- + --- + . . .
2    6    24   120   720
(%i3) plot2d([trunc(taylor(%e^x, x, 0, 6)), %e^x], [x,-5,5]);
plot ```
Run Example
```niceindices(powerseries(id*exp(vd/vt), vd, 0));
inf
====     i
\      vd
(%o1)                           id  >    ------
/          i
====  i! vt
i = 0
(%i2) ```

### Related Help

Help for Niceindices 