Sponsored links: Algebra eBooks ### The Maxima on-line user's manual

Algebra Calculator

#### Search: #### Rest

Function: rest (<expr>, <n>)

Function: rest (<expr>) Returns <expr> with its first <n> elements removed if <n> is positive and its last `- <n>` elements removed if <n> is negative. If <n> is 1 it may be omitted. <expr> may be a list, matrix, or other expression.

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

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

### Related Examples

##### rest

_subsets_(L, n, i) :=...

_subsets_([1,2,3,4,5]...

Calculate

##### rest

rest([1, 1, 0, 0, 0, ...

Calculate

##### rest

merge(A, B) := if len...

Calculate

##### rest

_subsets_(L, n, i) :=...

_subsets_([1,2,3,4,5]...

Calculate

##### rest

_subsets_(L, n, i) :=...

_subsets_([1,2,3],3,2);

Calculate

##### rest

rest([1, 0, 1, 0, 0, ...

Calculate

##### rest

rest([1, 0, 1, 0, 0, ...

Calculate

##### rest

_subsets_(L, n, i) :=...

_subsets_([1,2,3,4,5]...

Calculate

##### rest

eq1:rest( [ 7, 1, 3],...

Calculate

##### rest

_subsets_(L, n, i) :=...

_subsets_([1,2,3,4,5]...

Calculate 