powered by
Reverses the order of an Armadillo Vector
reverse_vec(x)
x A column vector with its contents reversed.
column vector
A column vector of length N
JJB
Consider a vector x=[1,2,3,4,5], the function would output x=[5,4,3,2,1].