Reverse Command

From GeoGebra Manual
Revision as of 00:51, 29 November 2012 by Spanish1 (talk | contribs)
Jump to: navigation, search


Reverse[ <List> ]
Reverses the order of a list.
Example:
Reverse[list1] reverses list1={(1,2),(3,4),(5,6)} to create list2={(5,6), (3,4), (1,2)}

CAS Syntax

Reverse[ <List> ]
Reverses the order of a list.
Examples:
Reverse[li1] reverses the list:
li1={(a, b), (c, d), (e, f)} creating the list:
{(e, f), (c,d),(a, b)}
Reverse[Flatten[ {á, é, {í, ó} } ]] reverses the flatten list and creates the list {ó, í, é, á}.
© 2024 International GeoGebra Institute