%FFT2 Two-dimensional discrete Fourier Transform for gpuArray
%   Y = FFT2(X) returns the two-dimensional Fourier transform of 
%   gpuArray X. If X is a vector, the result will have the 
%   same orientation.
%   
%   Y = FFT2(X,MROWS,NCOLS) pads gpuArray X with zeros to size MROWS-by-NCOLS
%   before transforming.
%   
%   Class support for input X: 
%     float: double, single 
%     integer: int8, uint8, int16, uint16, int32, uint32
%     logical
%   
%   The output is always complex even if all imaginary parts are zero.
%   
%   Example:
%    
%       N = 512;
%       X = gpuArray.rand(N);
%       Y = fft2(X);
%   
%   See also FFT2, GPUARRAY.


%   Copyright 2006-2016 The MathWorks, Inc.
