This is an old version, view current version.

5.16 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.