function varargout = poly(varargin)
%POLY Convert roots to polynomial.
%   P = POLY(A)
%   
%   Example:
%    
%       r = gpuArray.colon(1, 20);
%       roots(poly(r))  % Displays approximately 1:20
%   
%   See also POLY, ROOTS, GPUARRAY, GPUARRAY.COLON.


%   Copyright 2014 The MathWorks, Inc.

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