function x = reverse(x)

// flip a vector
//
// x = reverse(x)
//
//  Copyright (c) 2008 Gabriel Peyre



x = x($:-1:1);

endfunction