%FLIP  Flip a gpuArray in one direction.
%   FLIP(X) returns X flipped in the first non-singleton dimension.
%   FLIP(X,DIM) returns X with dimension DIM flipped.
%   
%   Example:
%    
%       V1 = gpuArray.rand(1,20);
%       V2 = flip(V1)
%       D1 = gpuArray.rand(10,20,30);
%       D2 = flip(D1,2)
%   
%   See also FLIP, GPUARRAY, GPUARRAY/FLIPLR, GPUARRAY/FLIPUD, GPUARRAY/RAND.
%   


%   Copyright 2013 The MathWorks, Inc.
