This is an old version, view current version.

5.15 Reverse Functions

vector reverse(vector v)
Return a new vector containing the elements of the argument in reverse order.

row_vector reverse(row_vector v)
Return a new row vector containing the elements of the argument in reverse order.