### The Maxima on-line user's manual

Algebra Calculator

#### Reverse

Function: reverse (<list>) Reverses the order of the members of the <list> (not the members themselves). `reverse` also works on general expressions, e.g. `reverse(a=b);` gives `b=a`.

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

```(%o1)                                true
(%i2) ```

### Related Examples

##### reverse-sort

eq1:[10,2,55,4,5];

eq2:[5,6,7,8,9];

eq1: sort(eq1);

Calculate

##### reverse

reverse([1,2,3]);

Calculate

##### reverse-sort

eq1:[10,2,55,4,5];

eq2:[5,6,7,8,9];

sort(eq1);

Calculate

##### reverse-rreduce

f(x,y):=x+10*y;

rreduce(f,reverse([1,...

Calculate

##### reverse-sort

eq1:[10,2,55,4,5];

eq2:[5,6,7,8,9];

eq1 = sort(eq1);

Calculate

##### reverse-rreduce

f(x,y):=x+10*y;

rreduce(f,reverse([1,...

Calculate

##### reverse

ans : [vasemmalle,oik...

ans[1];

reverse(ans)[1];

Calculate

? reverse;

Calculate

##### reverse-rreduce

rreduce(f,reverse([1,...

Calculate

##### reverse-rreduce

f(x,y):=x+10*y;

rreduce(f,reverse([13...

Calculate