function varargout = ifftshift(varargin)
%IFFTSHIFT Inverse FFT shift.
%   IFFTSHIFT(X)
%   IFFTSHIFT(X,DIM)
%   
%   See also IFFTSHIFT, CODISTRIBUTED.


%   Copyright 2019-2020 The MathWorks, Inc.

% This function only works for 1d distributions
codistributed.pVerifyUsing1d('ifftshift', varargin{1});

% try...catch prevents error being reported by internal
try
    [varargout{1:nargout}] = parallel.internal.flowthrough.ifftshift(varargin{:});
catch ME
    throw(ME);
end

end