next
|
previous
|
forward
|
backward
|
up
|
top
|
index
|
toc
|
home
Macaulay2
>
The Macaulay2 language
>
lists and sequences
>
reverse(BasicList)
reverse(BasicList) -- reverse a list
Synopsis
Function:
reverse
Description
reverse v
-- yields a list containing the elements of the list
v
in reverse order.
i1 : reverse {a,b,c,d} o1 = {d, c, b, a} o1 : List